Skip to content

Instantly share code, notes, and snippets.

@shubie
Created December 6, 2018 13:30
Show Gist options
  • Save shubie/81028eb4b4085d0646fb8bcf168162f1 to your computer and use it in GitHub Desktop.
Save shubie/81028eb4b4085d0646fb8bcf168162f1 to your computer and use it in GitHub Desktop.
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