Created
April 28, 2020 01:04
-
-
Save eis6aer/750205918d4ab545f301d9cc8681e34f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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