We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60559f3 commit 4a360b8Copy full SHA for 4a360b8
1 file changed
example/lib/main.dart
@@ -53,6 +53,16 @@ class _MyHomePageState extends State<MyHomePage> {
53
Timer _timer;
54
double _progress;
55
56
+ @override
57
+ void initState() {
58
+ super.initState();
59
+
60
+ /// Schedule a callback for the end of this frame
61
+ WidgetsBinding.instance.addPostFrameCallback((_) {
62
+ EasyLoading.showSuccess('Use in initState!');
63
+ });
64
+ }
65
66
@override
67
Widget build(BuildContext context) {
68
return Scaffold(
0 commit comments