Skip to content

Commit 63b5481

Browse files
committed
gf-loader done
1 parent 548d345 commit 63b5481

File tree

4 files changed

+13
-6
lines changed

4 files changed

+13
-6
lines changed

lib/components/loader/gf_loader.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ class GFLoader extends StatefulWidget {
2323
/// Type of [Widget] used only in custom type and it is prominent over the loaderIconOne, loaderIconTwo, loaderIconThree in custom type
2424
final Widget child;
2525

26-
/// Type of [GFColor] or [Color] which defines the color of the first dot in only circle or square type of loader
26+
/// Type of GFColor or [Color] which defines the color of the first dot in only circle or square type of loader
2727
final dynamic loaderColorOne;
2828

29-
/// Type of [GFColor] or [Color] which defines the color of the second dot in only circle or square type of loader
29+
/// Type of GFColor or [Color] which defines the color of the second dot in only circle or square type of loader
3030
final dynamic loaderColorTwo;
3131

32-
/// Type of [GFColor] or [Color] which defines the color of the third dot in only circle or square type of loader
32+
/// Type of GFColor or [Color] which defines the color of the third dot in only circle or square type of loader
3333
final dynamic loaderColorThree;
3434

3535
/// Type of duration which defines the animation duration of the loader only in circle and square type of loader

lib/components/toast/gf_floating_widget.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ class _GFFloatingWidgetState extends State<GFFloatingWidget> {
4949
Positioned(
5050
child: Container(
5151
height: MediaQuery.of(context).size.height,
52-
color: widget.showblurness ? widget.blurnessColor??Colors.black54 : null,
52+
color: widget.showblurness
53+
? widget.blurnessColor ?? Colors.black54
54+
: null,
5355
child: Stack(
5456
children: <Widget>[
5557
Positioned(

lib/components/toast/gf_toast.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ class _GFToastState extends State<GFToast> with TickerProviderStateMixin {
7272
animation = CurvedAnimation(
7373
parent: animationController,
7474
curve: Curves.easeIn,
75-
7675
);
7776

7877
animationController.forward();

lib/types/gf_loader_type.dart

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1-
enum GFLoaderType { android, ios, square, circle, custom ,}
1+
enum GFLoaderType {
2+
android,
3+
ios,
4+
square,
5+
circle,
6+
custom,
7+
}

0 commit comments

Comments
 (0)