This commit is contained in:
kifio
2017-09-21 09:11:48 +03:00
parent 912aa2248f
commit 78fe8f01bd
16 changed files with 196 additions and 53 deletions

View File

@@ -1,7 +1,6 @@
import 'package:checker/resources.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:intl/intl.dart';
import 'package:checker/common.dart';
import 'package:checker/consts.dart';
@@ -52,7 +51,9 @@ abstract class BaseState<T extends StatefulWidget> extends State<T> {
}
AppBar getAppBar() {
return new AppBar(title: new Text(getTitle(), style: new TextStyle(fontSize: 18.0)),
return new AppBar(title: new Container(
margin: new EdgeInsets.only(left: 16.0),
child: new Text(getTitle(), style: new TextStyle(fontSize: 18.0))),
backgroundColor: Resources.getPrimaryColor(app), actions: getMenuButtons());
}