Skip to content

Instantly share code, notes, and snippets.

@florent37
Created December 12, 2018 07:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save florent37/32d0b037820c6a4adf6249ce1472ea82 to your computer and use it in GitHub Desktop.
Save florent37/32d0b037820c6a4adf6249ce1472ea82 to your computer and use it in GitHub Desktop.
SingleChildScrollView(
padding: EdgeInsets.symmetric(horizontal: 24, vertical: 48),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
Text(
_currentMovie.title.replaceAll(" ", "\n").toUpperCase(),
style: TextStyle(
shadows: [
Shadow(
offset: Offset(2.0, 2),
blurRadius: 2.0,
color: Colors.black87)
],
color: Colors.white,
fontSize: 44,
fontFamily: 'Raleway',
fontWeight: FontWeight.w700),
),
Container(
margin: EdgeInsets.symmetric(vertical: 16),
height: 5,
width: 30,
color: Colors.red[200],
),
Text(_currentMovie.type + " (" + _currentMovie.year + ")",
style: TextStyle(
shadows: [
Shadow(
offset: Offset(2.0, 2),
blurRadius: 2.0,
color: Colors.black87)
],
fontFamily: 'Raleway',
fontWeight: FontWeight.normal,
color: Colors.white,
fontSize: 20))
],
),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment