|
|
@ -17,14 +17,12 @@ class NeonLinearProgressIndicator extends StatelessWidget { |
|
|
|
@override |
|
|
|
@override |
|
|
|
Widget build(final BuildContext context) => Container( |
|
|
|
Widget build(final BuildContext context) => Container( |
|
|
|
margin: margin, |
|
|
|
margin: margin, |
|
|
|
child: SizedBox( |
|
|
|
constraints: BoxConstraints.loose(const Size.fromHeight(3)), |
|
|
|
height: 3, |
|
|
|
|
|
|
|
child: visible |
|
|
|
child: visible |
|
|
|
? LinearProgressIndicator( |
|
|
|
? LinearProgressIndicator( |
|
|
|
color: color, |
|
|
|
color: color, |
|
|
|
backgroundColor: backgroundColor, |
|
|
|
backgroundColor: backgroundColor, |
|
|
|
) |
|
|
|
) |
|
|
|
: null, |
|
|
|
: null, |
|
|
|
), |
|
|
|
|
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|