Open blazefluz opened 5 years ago
class GameProgressWidget extends StatelessWidget {
final double gameProgress, screenWidth;
const GameProgressWidget({Key key, this.gameProgress, this.screenWidth }) : super(key: key);
@override Widget build(BuildContext context) { final width = screenWidth * 0.3 - 32; return Container( width: width, height: 10, decoration: BoxDecoration( borderRadius: BorderRadius.all(Radius.circular(4)), border: Border.all(color: tertiaryTextColor, width: 1), ), ); } }
class GameProgressWidget extends StatelessWidget {
final double gameProgress, screenWidth;
const GameProgressWidget({Key key, this.gameProgress, this.screenWidth }) : super(key: key);
@override Widget build(BuildContext context) { final width = screenWidth * 0.3 - 32; return Container( width: width, height: 10, decoration: BoxDecoration( borderRadius: BorderRadius.all(Radius.circular(4)), border: Border.all(color: tertiaryTextColor, width: 1), ), ); } }