Projects
View on GitHub
boyan01/overlay_support
About
A Flutter library for toast messages and notifications.
Developer ToolsMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +1
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Originaloverlay_support
Provider support for overlay, make it easy to build toast and In-App notification.
this library support ALL platform
Interaction
If you want to see the ui effect of this library, just click here https://boyan01.github.io/overlay_support/#/
How To Use
add dependencies into you project
pubspec.yamlfiledependencies: overlay_support: latest_versionwrap your AppWidget with
OverlaySupport
return OverlaySupport.global(child: MaterialApp());
- show toast or simple notifications
import 'package:overlay_support/overlay_support.dart';
void onClick() {
// popup a toast.
toast('Hello world!');
// show a notification at top of screen.
showSimpleNotification(
Text("this is a message from simple notification"),
background: Colors.green);
}
more instructions check here : example/README.md
License
see License File
End
if you have some suggestion or advice, please open an issue to let me known. This will greatly help the improvement of the usability of this project. Thanks.
Explore related projects
Loading…