Skip to content

Instantly share code, notes, and snippets.

@eis6aer
Created April 28, 2020 01:04
Show Gist options
  • Save eis6aer/750205918d4ab545f301d9cc8681e34f to your computer and use it in GitHub Desktop.
Save eis6aer/750205918d4ab545f301d9cc8681e34f to your computer and use it in GitHub Desktop.
// 1
class CircularProgress extends StatefulWidget{
CircularProgress({
@required this.size,
this.secondaryColor = Colors.white,
this.primaryColor = Colors.orange,
this.lapDuration = 1000,
this.strokeWidth = 5.0
});
// 2
final double size;
final Color secondaryColor;
final Color primaryColor;
final int lapDuration;
final double strokeWidth;
@override
_CircularProgress createState() => new _CircularProgress();
}
// 3
class _CircularProgress extends State<CircularProgress> {
@override
void initState() {
super.initState();
});
}
@override
Widget build(BuildContext context) {
return Container();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment