Merge branch 'develop' into bug/66-segmented-control-wont-show-long-names-correctly
# Conflicts: # pubspec.yaml
This commit is contained in:
@@ -50,7 +50,9 @@ class _MainMenuViewState extends State<MainMenuView> {
|
|||||||
CupertinoPageRoute(
|
CupertinoPageRoute(
|
||||||
builder: (context) => const SettingsView(),
|
builder: (context) => const SettingsView(),
|
||||||
),
|
),
|
||||||
);
|
).then((_) {
|
||||||
|
setState(() {});
|
||||||
|
});
|
||||||
},
|
},
|
||||||
icon: const Icon(CupertinoIcons.settings, size: 30)),
|
icon: const Icon(CupertinoIcons.settings, size: 30)),
|
||||||
middle: const Text('Cabo Counter'),
|
middle: const Text('Cabo Counter'),
|
||||||
@@ -77,7 +79,12 @@ class _MainMenuViewState extends State<MainMenuView> {
|
|||||||
const SizedBox(height: 30), // Abstand von oben
|
const SizedBox(height: 30), // Abstand von oben
|
||||||
Center(
|
Center(
|
||||||
child: GestureDetector(
|
child: GestureDetector(
|
||||||
onTap: () => setState(() {}),
|
onTap: () => Navigator.push(
|
||||||
|
context,
|
||||||
|
CupertinoPageRoute(
|
||||||
|
builder: (context) => const CreateGame(),
|
||||||
|
),
|
||||||
|
),
|
||||||
child: Icon(
|
child: Icon(
|
||||||
CupertinoIcons.plus,
|
CupertinoIcons.plus,
|
||||||
size: 60,
|
size: 60,
|
||||||
@@ -85,15 +92,16 @@ class _MainMenuViewState extends State<MainMenuView> {
|
|||||||
),
|
),
|
||||||
)),
|
)),
|
||||||
const SizedBox(height: 10), // Abstand von oben
|
const SizedBox(height: 10), // Abstand von oben
|
||||||
const Padding(
|
Padding(
|
||||||
padding: EdgeInsets.symmetric(horizontal: 70),
|
padding:
|
||||||
|
const EdgeInsets.symmetric(horizontal: 70),
|
||||||
child: Text(
|
child: Text(
|
||||||
'Ganz schön leer hier...\nFüge über den Button oben rechts eine neue Runde hinzu.',
|
'${AppLocalizations.of(context).empty_text_1}\n${AppLocalizations.of(context).empty_text_2}',
|
||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
style: TextStyle(fontSize: 16),
|
style: const TextStyle(fontSize: 16),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
], //Ganz schön leer hier... Füge über den Button oben rechts eine neue Runde hinzu.
|
||||||
)
|
)
|
||||||
: ListView.builder(
|
: ListView.builder(
|
||||||
itemCount: gameManager.gameList.length,
|
itemCount: gameManager.gameList.length,
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ name: cabo_counter
|
|||||||
description: "Mobile app for the card game Cabo"
|
description: "Mobile app for the card game Cabo"
|
||||||
publish_to: 'none'
|
publish_to: 'none'
|
||||||
|
|
||||||
version: 0.3.3+255
|
version: 0.3.3+256
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ^3.5.4
|
sdk: ^3.5.4
|
||||||
|
|||||||
Reference in New Issue
Block a user