toast_simple 0.0.1
toast_simple: ^0.0.1 copied to clipboard
Toast Library for Flutter
example/lib/main.dart
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Flutter Toast Example'),
),
body: Center(
child: ElevatedButton(
child: const Text('Show Toast'),
onPressed: () {
// FlutterToast.showToast('Hello Flutter Toast!');
},
),
),
),
);
}
}