Cleanup
This commit is contained in:
@@ -20,7 +20,10 @@ class LoginPage extends StatelessWidget {
|
|||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
Text(
|
Text(
|
||||||
localizations.t('login.title'),
|
localizations.t('login.title'),
|
||||||
style: Theme.of(context).textTheme.display1,
|
style: Theme
|
||||||
|
.of(context)
|
||||||
|
.textTheme
|
||||||
|
.display1,
|
||||||
),
|
),
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.all(32.0),
|
padding: const EdgeInsets.all(32.0),
|
||||||
@@ -34,7 +37,10 @@ class LoginPage extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
localizations.t('login.subtitle'),
|
localizations.t('login.subtitle'),
|
||||||
style: Theme.of(context).textTheme.caption,
|
style: Theme
|
||||||
|
.of(context)
|
||||||
|
.textTheme
|
||||||
|
.caption,
|
||||||
),
|
),
|
||||||
Consumer<LoginState>(
|
Consumer<LoginState>(
|
||||||
builder: (BuildContext context, LoginState value, Widget child) {
|
builder: (BuildContext context, LoginState value, Widget child) {
|
||||||
|
|||||||
Reference in New Issue
Block a user