Increase AppBar height

This commit is contained in:
poka 2021-11-15 04:16:25 +01:00
parent 162bd0a730
commit 1b7c01bfe1
13 changed files with 31 additions and 14 deletions

View File

@ -213,6 +213,7 @@ class GeckoSpeechAppBar extends StatelessWidget with PreferredSizeWidget {
@override
Widget build(BuildContext context) {
return AppBar(
toolbarHeight: 60 * ratio,
leading: IconButton(
icon: SizedBox(
height: 30,

View File

@ -44,6 +44,7 @@ class HistoryScreen extends StatelessWidget with ChangeNotifier {
return Scaffold(
key: _scaffoldKey,
appBar: AppBar(
toolbarHeight: 60 * ratio,
title: _homeProvider.appBarExplorer,
actions: [
Padding(

View File

@ -71,6 +71,7 @@ class CesiumWalletOptions extends StatelessWidget {
child: Scaffold(
resizeToAvoidBottomInset: false,
appBar: AppBar(
toolbarHeight: 60 * ratio,
leading: IconButton(
icon: const Icon(Icons.arrow_back, color: Colors.black),
onPressed: () {

View File

@ -31,6 +31,7 @@ class ChangePinScreen extends StatelessWidget with ChangeNotifier {
child: Scaffold(
resizeToAvoidBottomInset: false,
appBar: AppBar(
toolbarHeight: 60 * ratio,
leading: IconButton(
icon: const Icon(Icons.arrow_back, color: Colors.black),
onPressed: () {

View File

@ -32,10 +32,11 @@ class _ChooseChestState extends State<ChooseChest> {
return Scaffold(
appBar: AppBar(
toolbarHeight: 60 * ratio,
title: const SizedBox(
height: 22,
child: Text('Sélectionner mon coffre'),
)),
height: 22,
child: Text('Sélectionner mon coffre'),
)),
body: SafeArea(
child: Column(children: <Widget>[
SizedBox(height: 160 * ratio),

View File

@ -3,6 +3,7 @@ import 'dart:async';
import 'package:dubp/dubp.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:gecko/globals.dart';
import 'package:gecko/models/generate_wallets.dart';
import 'package:gecko/models/my_wallets.dart';
import 'package:gecko/models/wallet_options.dart';
@ -45,6 +46,7 @@ class ConfirmStoreWallet extends StatelessWidget with ChangeNotifier {
child: Scaffold(
resizeToAvoidBottomInset: false,
appBar: AppBar(
toolbarHeight: 60 * ratio,
leading: IconButton(
icon: const Icon(Icons.arrow_back, color: Colors.black),
onPressed: () {

View File

@ -29,10 +29,11 @@ class GenerateWalletsScreen extends StatelessWidget {
return Scaffold(
appBar: AppBar(
toolbarHeight: 60 * ratio,
title: const SizedBox(
height: 22,
child: Text('Générer un trousseau'),
)),
height: 22,
child: Text('Générer un trousseau'),
)),
floatingActionButton: SizedBox(
height: 80.0,
width: 80.0,
@ -182,7 +183,9 @@ class PrintWallet extends StatelessWidget {
Provider.of<GenerateWalletsProvider>(context);
return MaterialApp(
home: Scaffold(
appBar: AppBar(title: const Text('Imprimer ce trousseau')),
appBar: AppBar(
toolbarHeight: 60 * ratio,
title: const Text('Imprimer ce trousseau')),
body: PdfPreview(
build: (format) => _generateWalletProvider.printWallet(sentence),
),

View File

@ -29,6 +29,7 @@ class ImportWalletScreen extends StatelessWidget {
},
child: Scaffold(
appBar: AppBar(
toolbarHeight: 60 * ratio,
leading: IconButton(
icon: const Icon(Icons.arrow_back, color: Colors.black),
onPressed: () {

View File

@ -71,6 +71,7 @@ class WalletOptions extends StatelessWidget {
child: Scaffold(
resizeToAvoidBottomInset: false,
appBar: AppBar(
toolbarHeight: 60 * ratio,
leading: IconButton(
icon: const Icon(Icons.arrow_back, color: Colors.black),
onPressed: () {

View File

@ -44,6 +44,7 @@ class WalletsHome extends StatelessWidget {
},
child: Scaffold(
appBar: AppBar(
toolbarHeight: 60 * ratio,
leading: IconButton(
icon: const Icon(Icons.arrow_back, color: Colors.black),
onPressed: () {

View File

@ -196,7 +196,9 @@ class PrintWallet extends StatelessWidget {
Provider.of<GenerateWalletsProvider>(context);
return MaterialApp(
home: Scaffold(
appBar: AppBar(title: const Text('Imprimer ce trousseau')),
appBar: AppBar(
toolbarHeight: 60 * ratio,
title: const Text('Imprimer ce trousseau')),
body: PdfPreview(
build: (format) => _generateWalletProvider.printWallet(sentence),
),

View File

@ -34,10 +34,11 @@ class SettingsScreen extends StatelessWidget {
// getAppDirectory();
return Scaffold(
appBar: AppBar(
toolbarHeight: 60 * ratio,
title: const SizedBox(
height: 22,
child: Text('Paramètres'),
)),
height: 22,
child: Text('Paramètres'),
)),
body: Column(children: <Widget>[
const SizedBox(height: 40),
SizedBox(

View File

@ -17,10 +17,11 @@ class TemplateScreen extends StatelessWidget {
// HomeProvider _homeProvider = Provider.of<HomeProvider>(context);
return Scaffold(
appBar: AppBar(
toolbarHeight: 60 * ratio,
title: const SizedBox(
height: 22,
child: Text('Template screen'),
)),
height: 22,
child: Text('Template screen'),
)),
floatingActionButton: SizedBox(
height: 80.0,
width: 80.0,