fix: incorrect user of paraent data widget
This commit is contained in:
@@ -59,9 +59,9 @@ class _CreateTeamsViewState extends State<CreateTeamsView> {
|
|||||||
body: Stack(
|
body: Stack(
|
||||||
alignment: Alignment.center,
|
alignment: Alignment.center,
|
||||||
children: [
|
children: [
|
||||||
Expanded(
|
Positioned.fill(
|
||||||
child: ListView.builder(
|
child: ListView.builder(
|
||||||
padding: const EdgeInsets.only(top: 12, bottom: 12),
|
padding: const EdgeInsets.only(top: 12, bottom: 96),
|
||||||
itemCount: teams.length,
|
itemCount: teams.length,
|
||||||
itemBuilder: (context, index) {
|
itemBuilder: (context, index) {
|
||||||
return TeamCreationTile(
|
return TeamCreationTile(
|
||||||
|
|||||||
@@ -55,9 +55,9 @@ class _ManageMembersViewState extends State<ManageMembersView> {
|
|||||||
body: Stack(
|
body: Stack(
|
||||||
alignment: AlignmentDirectional.center,
|
alignment: AlignmentDirectional.center,
|
||||||
children: [
|
children: [
|
||||||
Expanded(
|
Positioned.fill(
|
||||||
child: ReorderableListView.builder(
|
child: ReorderableListView.builder(
|
||||||
padding: const EdgeInsets.symmetric(vertical: 12),
|
padding: const EdgeInsets.fromLTRB(0, 12, 0, 96),
|
||||||
buildDefaultDragHandles: false,
|
buildDefaultDragHandles: false,
|
||||||
itemCount: allItemsCount,
|
itemCount: allItemsCount,
|
||||||
onReorder: onReorder,
|
onReorder: onReorder,
|
||||||
@@ -282,7 +282,6 @@ class _ManageMembersViewState extends State<ManageMembersView> {
|
|||||||
|
|
||||||
void submitMatch() async {
|
void submitMatch() async {
|
||||||
final match = widget.match;
|
final match = widget.match;
|
||||||
print('teams: ${match.teams}');
|
|
||||||
await db.matchDao.addMatch(match: match);
|
await db.matchDao.addMatch(match: match);
|
||||||
if (mounted) {
|
if (mounted) {
|
||||||
Navigator.pushAndRemoveUntil(
|
Navigator.pushAndRemoveUntil(
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
name: tallee
|
name: tallee
|
||||||
description: "Tracking App for Card Games"
|
description: "Tracking App for Card Games"
|
||||||
publish_to: 'none'
|
publish_to: 'none'
|
||||||
version: 0.0.30+332
|
version: 0.0.30+333
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ^3.8.1
|
sdk: ^3.8.1
|
||||||
|
|||||||
Reference in New Issue
Block a user