Skip to content

Instantly share code, notes, and snippets.

@shubie
Created December 6, 2018 13:35
Show Gist options
  • Save shubie/2fa170c7997c3d154a9b877f8397a27b to your computer and use it in GitHub Desktop.
Save shubie/2fa170c7997c3d154a9b877f8397a27b to your computer and use it in GitHub Desktop.
final bottomContentText = Text(
lesson.content,
style: TextStyle(fontSize: 18.0),
);
final readButton = Padding(
padding: EdgeInsets.symmetric(vertical: 16.0),
child: RaisedButton(
onPressed: () => {},
color: Color.fromRGBO(58, 66, 86, 1.0),
child:
Text("TAKE THIS LESSON", style: TextStyle(color: Colors.white)),
));
final bottomContent = Container(
// height: MediaQuery.of(context).size.height,
width: MediaQuery.of(context).size.width,
// color: Theme.of(context).primaryColor,
padding: EdgeInsets.all(40.0),
child: Center(
child: Column(
children: <Widget>[bottomContentText, readButton],
),
),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment