Show status bar (WIP)
Known Issue: Small screen phone cannot show navigation toolbar.
This commit is contained in:
parent
cda1265d8b
commit
751ca0a286
|
@ -56,7 +56,7 @@ class Config {
|
||||||
static double boardInnerLineWidth = 2.0;
|
static double boardInnerLineWidth = 2.0;
|
||||||
static double pieceWidth = 0.9;
|
static double pieceWidth = 0.9;
|
||||||
static double fontSize = 16.0;
|
static double fontSize = 16.0;
|
||||||
static double boardTop = 36.0;
|
static double boardTop = 75.0;
|
||||||
static double animationDuration = 0.0;
|
static double animationDuration = 0.0;
|
||||||
|
|
||||||
// Color
|
// Color
|
||||||
|
@ -126,7 +126,7 @@ class Config {
|
||||||
Config.boardInnerLineWidth = settings['BoardInnerLineWidth'] ?? 2;
|
Config.boardInnerLineWidth = settings['BoardInnerLineWidth'] ?? 2;
|
||||||
Config.pieceWidth = settings['PieceWidth'] ?? 0.9;
|
Config.pieceWidth = settings['PieceWidth'] ?? 0.9;
|
||||||
Config.fontSize = settings['FontSize'] ?? 16.0;
|
Config.fontSize = settings['FontSize'] ?? 16.0;
|
||||||
Config.boardTop = settings['BoardTop'] ?? 36;
|
Config.boardTop = settings['BoardTop'] ?? 75;
|
||||||
Config.animationDuration = settings['AnimationDuration'] ?? 0;
|
Config.animationDuration = settings['AnimationDuration'] ?? 0;
|
||||||
|
|
||||||
// Color
|
// Color
|
||||||
|
|
|
@ -100,7 +100,9 @@ Future<void> main() async {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
SystemChrome.setEnabledSystemUIOverlays([]);
|
SystemChrome.setEnabledSystemUIOverlays([]);
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
RouteObserver<PageRoute> routeObserver = RouteObserver<PageRoute>();
|
RouteObserver<PageRoute> routeObserver = RouteObserver<PageRoute>();
|
||||||
|
|
|
@ -105,7 +105,7 @@ class AppTheme {
|
||||||
height: 1.5,
|
height: 1.5,
|
||||||
color: moveHistoryTextColor);
|
color: moveHistoryTextColor);
|
||||||
|
|
||||||
static double boardTop = 36.0;
|
static double boardTop = 75.0;
|
||||||
static double boardMargin = 10.0;
|
static double boardMargin = 10.0;
|
||||||
static double boardScreenPaddingH = 10.0;
|
static double boardScreenPaddingH = 10.0;
|
||||||
static double boardBorderRadius = 5.0;
|
static double boardBorderRadius = 5.0;
|
||||||
|
|
|
@ -183,7 +183,7 @@ class _HomeDrawerState extends State<HomeDrawer> {
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
animatedBuilder,
|
animatedBuilder,
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.only(top: 8, left: 4),
|
padding: const EdgeInsets.only(top: 30, left: 4),
|
||||||
child: animatedTextKit,
|
child: animatedTextKit,
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue