refactoring
This commit is contained in:
1 parent
b81fc1cc42
commit
490e13000b
138 files changed
+1392
-3251
No files matched your search
@@ -23,3 +23,16 @@ Future<void> launchUrlFeedback(
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void showTabBackButtonMessage(BuildContext context, int tabCount) {
|
||||
ScaffoldMessenger.of(context)
|
||||
..clearSnackBars()
|
||||
..showSnackBar(
|
||||
SnackBar(
|
||||
content:
|
||||
(tabCount > 1)
|
||||
? const Text('Please click BACK again to close current tab')
|
||||
: const Text('Please click BACK again to exit app'),
|
||||
),
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user