mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
More linting again
This commit is contained in:
parent
77bac9af36
commit
be36811cb3
20 changed files with 68 additions and 75 deletions
|
|
@ -17,7 +17,11 @@ import "package:inventree/l10.dart";
|
|||
|
||||
void showSnackIcon(String text, {IconData? icon, Function()? onAction, bool? success, String? actionText}) {
|
||||
|
||||
OneContext().hideCurrentSnackBar();
|
||||
BuildContext? context = OneContext().context;
|
||||
|
||||
if (context != null) {
|
||||
ScaffoldMessenger.of(context).hideCurrentSnackBar();
|
||||
}
|
||||
|
||||
Color backgroundColor = Colors.deepOrange;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue