mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2026-02-06 08:14:22 +01:00
migrate: flutter 3.10.0
This commit is contained in:
@@ -23,7 +23,10 @@ bool isDarkMode(BuildContext context) =>
|
||||
Theme.of(context).brightness == Brightness.dark;
|
||||
|
||||
void showSnackBar(BuildContext context, Widget child) =>
|
||||
ScaffoldMessenger.of(context).showSnackBar(SnackBar(content: child));
|
||||
ScaffoldMessenger.of(context).showSnackBar(SnackBar(
|
||||
content: child,
|
||||
behavior: SnackBarBehavior.floating,
|
||||
));
|
||||
|
||||
void showSnackBarWithAction(
|
||||
BuildContext context,
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
|
||||
class BuildData {
|
||||
static const String name = "ServerBox";
|
||||
static const int build = 294;
|
||||
static const String engine = "3.7.11";
|
||||
static const String buildAt = "2023-05-10 13:26:09.654757";
|
||||
static const int modifications = 1;
|
||||
static const int build = 295;
|
||||
static const String engine = "3.10.0";
|
||||
static const String buildAt = "2023-05-11 12:17:12.803987";
|
||||
static const int modifications = 3;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user