@@ -6,12 +6,12 @@ class GFFloatingWidget extends StatefulWidget {
66 /// Inside floating widget [GFToast] can be used as body. See [GFToast]
77 const GFFloatingWidget (
88 {Key key,
9- this .child,
10- this .horizontalPosition,
11- this .verticalPosition,
12- this .blurnessColor,
13- this .showblurness = false ,
14- this .body})
9+ this .child,
10+ this .horizontalPosition,
11+ this .verticalPosition,
12+ this .blurnessColor,
13+ this .showblurness = false ,
14+ this .body})
1515 : super (key: key);
1616
1717 ///child of type [Widget] which floats across the body based on horizontal and vertical position
@@ -39,15 +39,15 @@ class GFFloatingWidget extends StatefulWidget {
3939class _GFFloatingWidgetState extends State <GFFloatingWidget > {
4040 @override
4141 Widget build (BuildContext context) => Stack (
42- alignment: Alignment .center,
43- fit: StackFit .loose,
44- children: < Widget > [
45- Container (
46- height: MediaQuery .of (context).size.height,
47- child: widget.body ?? Container (),
48- ),
49- Positioned (
50- child: Container (
42+ alignment: Alignment .center,
43+ fit: StackFit .loose,
44+ children: < Widget > [
45+ Container (
46+ height: MediaQuery .of (context).size.height,
47+ child: widget.body ?? Container (),
48+ ),
49+ Positioned (
50+ child: Container (
5151 height: MediaQuery .of (context).size.height,
5252 color: widget.showblurness
5353 ? widget.blurnessColor ?? Colors .black54
@@ -69,6 +69,6 @@ class _GFFloatingWidgetState extends State<GFFloatingWidget> {
6969 ],
7070 ),
7171 ))
72- ],
73- );
72+ ],
73+ );
7474}
0 commit comments