flutter_toasty 1.1.0
flutter_toasty: ^1.1.0 copied to clipboard
A Flutter package that provides a simple and customizable way to display toast messages in your Flutter applications. With Flutter Toasty, you can easily show informative and stylish toast notificatio [...]
example/lib/main.dart
import 'package:example/router.dart';
import 'package:flutter/material.dart';
import 'package:flutter_toasty/flutter_toasty.dart';
void main() {
runApp(const App());
}
class App extends StatelessWidget {
const App({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp.router(
routerConfig: AppRouter().config(),
builder: (context, child) => ToastyProvider(child: child!),
);
}
}