Created
December 6, 2018 13:30
-
-
Save shubie/81028eb4b4085d0646fb8bcf168162f1 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
final topContentText = Column( | |
crossAxisAlignment: CrossAxisAlignment.start, | |
children: <Widget>[ | |
SizedBox(height: 120.0), | |
Icon( | |
Icons.directions_car, | |
color: Colors.white, | |
size: 40.0, | |
), | |
Container( | |
width: 90.0, | |
child: new Divider(color: Colors.green), | |
), | |
SizedBox(height: 10.0), | |
Text( | |
lesson.title, | |
style: TextStyle(color: Colors.white, fontSize: 45.0), | |
), | |
SizedBox(height: 30.0), | |
Row( | |
mainAxisAlignment: MainAxisAlignment.start, | |
children: <Widget>[ | |
Expanded(flex: 1, child: levelIndicator), | |
Expanded( | |
flex: 6, | |
child: Padding( | |
padding: EdgeInsets.only(left: 10.0), | |
child: Text( | |
lesson.level, | |
style: TextStyle(color: Colors.white), | |
))), | |
Expanded(flex: 1, child: coursePrice) | |
], | |
), | |
], | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment