Skip to content
Snippets Groups Projects
Commit 2d08f65d authored by Benoît Harrault's avatar Benoît Harrault
Browse files

Merge branch '5-improve-layout' into 'master'

Resolve "Improve layout"

Closes #5

See merge request !6
parents 682703fe 349344e4
No related branches found
No related tags found
1 merge request!6Resolve "Improve layout"
Pipeline #850 canceled
org.gradle.jvmargs=-Xmx1536M org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true android.useAndroidX=true
android.enableJetifier=true android.enableJetifier=true
app.versionName=1.1.0 app.versionName=1.1.1
app.versionCode=3 app.versionCode=4
...@@ -152,13 +152,13 @@ class _MyHomePageState extends State<MyHomePage> { ...@@ -152,13 +152,13 @@ class _MyHomePageState extends State<MyHomePage> {
children: <Widget>[ children: <Widget>[
Text( Text(
'Lettre aléatoire :', 'Lettre aléatoire :',
style: Theme.of(context).textTheme.headline3, style: Theme.of(context).textTheme.headline4,
), ),
Text( Text(
'$_randomLetter', '$_randomLetter',
style: Theme.of(context).textTheme.headline4, style: Theme.of(context).textTheme.headline2,
), ),
FlatButton( RaisedButton(
onPressed: _pickRandomLetter, onPressed: _pickRandomLetter,
color: Colors.orange, color: Colors.orange,
padding: EdgeInsets.all(10.0), padding: EdgeInsets.all(10.0),
...@@ -171,16 +171,17 @@ class _MyHomePageState extends State<MyHomePage> { ...@@ -171,16 +171,17 @@ class _MyHomePageState extends State<MyHomePage> {
), ),
], ],
), ),
SizedBox(height: 50),
Column( Column(
mainAxisAlignment: MainAxisAlignment.center, mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[ children: <Widget>[
Text( Text(
'Catégorie aléatoire :', 'Catégorie aléatoire :',
style: Theme.of(context).textTheme.headline3, style: Theme.of(context).textTheme.headline4,
), ),
Text( Text(
'$_randomCategory', '$_randomCategory',
style: Theme.of(context).textTheme.headline4, style: Theme.of(context).textTheme.headline3,
), ),
FlatButton( FlatButton(
onPressed: _pickRandomCategory, onPressed: _pickRandomCategory,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment