Compare commits
1 Commits
enhancemen
...
bug/159-to
| Author | SHA1 | Date | |
|---|---|---|---|
| d5bd0bca5f |
@@ -181,6 +181,7 @@ class _PlayerSelectionState extends State<PlayerSelection> {
|
||||
icon: Icons.info,
|
||||
title: loc.info,
|
||||
message: _getInfoText(context),
|
||||
fullscreen: false,
|
||||
),
|
||||
child: ListView.builder(
|
||||
itemCount: suggestedPlayers.length,
|
||||
|
||||
@@ -10,6 +10,7 @@ class TopCenteredMessage extends StatelessWidget {
|
||||
required this.icon,
|
||||
required this.title,
|
||||
required this.message,
|
||||
this.fullscreen = true,
|
||||
});
|
||||
|
||||
/// The icon to display above the title.
|
||||
@@ -21,13 +22,18 @@ class TopCenteredMessage extends StatelessWidget {
|
||||
/// The message text to display below the title.
|
||||
final String message;
|
||||
|
||||
final bool fullscreen;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Container(
|
||||
padding: const EdgeInsets.only(top: 100),
|
||||
padding: fullscreen ? const EdgeInsets.only(top: 100) : null,
|
||||
margin: const EdgeInsets.symmetric(horizontal: 10),
|
||||
alignment: Alignment.topCenter,
|
||||
child: Column(
|
||||
mainAxisAlignment: fullscreen
|
||||
? MainAxisAlignment.start
|
||||
: MainAxisAlignment.center,
|
||||
children: [
|
||||
Icon(icon, size: 45),
|
||||
const SizedBox(height: 10),
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name: game_tracker
|
||||
description: "Game Tracking App for Card Games"
|
||||
publish_to: 'none'
|
||||
version: 0.0.5+143
|
||||
version: 0.0.5+144
|
||||
|
||||
environment:
|
||||
sdk: ^3.8.1
|
||||
|
||||
Reference in New Issue
Block a user