status_alert 0.1.3 status_alert: ^0.1.3 copied to clipboard
Display Apple system-like self-hiding status alerts. It is well suited for notifying user without interrupting user flow.
import 'package:example/screens/status_alert_screen.dart';
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: Colors.deepPurple,
brightness: Brightness.light,
),
darkTheme: ThemeData(
brightness: Brightness.dark,
),
home: StatusAlertScreen(),
);
}
}