File tree Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Original file line number Diff line number Diff line change @@ -61,23 +61,12 @@ class GFAlert extends StatefulWidget {
6161}
6262
6363class _GFAlertState extends State <GFAlert > with TickerProviderStateMixin {
64- String title;
65- String content;
66- Widget child;
67- Widget contentChild;
68- Widget bottombar;
69-
7064
7165 AnimationController animationController;
7266 Animation <double > animation;
7367
7468 @override
7569 void initState () {
76- content= widget.content;
77- title = widget.title;
78- child= widget.child;
79- contentChild= widget.contentChild;
80- bottombar= widget.bottombar;
8170
8271 animationController = AnimationController (
8372 duration: const Duration (milliseconds: 300 ),
@@ -97,18 +86,6 @@ class _GFAlertState extends State<GFAlert> with TickerProviderStateMixin {
9786 super .dispose ();
9887 }
9988
100-
101-
102- @override
103- void didUpdateWidget (GFAlert oldWidget){
104- content= widget.content;
105- title = widget.title;
106- child= widget.child;
107- contentChild= widget.contentChild;
108- bottombar= widget.bottombar;
109- super .didUpdateWidget (oldWidget);
110- }
111-
11289 @override
11390 Widget build (BuildContext context) => FadeTransition (
11491 opacity: animation,
You can’t perform that action at this time.
0 commit comments