Changed swipe to delete direction
This commit is contained in:
@@ -114,15 +114,15 @@ class _MainMenuViewState extends State<MainMenuView> {
|
|||||||
key: Key(session.gameTitle),
|
key: Key(session.gameTitle),
|
||||||
background: Container(
|
background: Container(
|
||||||
color: CupertinoColors.destructiveRed,
|
color: CupertinoColors.destructiveRed,
|
||||||
alignment: Alignment.centerLeft,
|
alignment: Alignment.centerRight,
|
||||||
padding:
|
padding:
|
||||||
const EdgeInsets.only(left: 20.0),
|
const EdgeInsets.only(right: 20.0),
|
||||||
child: const Icon(
|
child: const Icon(
|
||||||
CupertinoIcons.delete,
|
CupertinoIcons.delete,
|
||||||
color: CupertinoColors.white,
|
color: CupertinoColors.white,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
direction: DismissDirection.startToEnd,
|
direction: DismissDirection.endToStart,
|
||||||
confirmDismiss: (direction) async {
|
confirmDismiss: (direction) async {
|
||||||
final String gameTitle = gameManager
|
final String gameTitle = gameManager
|
||||||
.gameList[index].gameTitle;
|
.gameList[index].gameTitle;
|
||||||
|
|||||||
@@ -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+265
|
version: 0.3.4+267
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ^3.5.4
|
sdk: ^3.5.4
|
||||||
|
|||||||
Reference in New Issue
Block a user