mirror of
https://github.com/hmalik144/days_left_flutter.git
synced 2026-10-31 19:04:14 +00:00
- Introduction on base view model and stateless widget classes
- Implementation of firebase - Implementation of dependency injection Took 11 hours 26 minutes
This commit is contained in:
1 parent
3d438ffc5b
commit
f83071fa78
27 files changed
+1438
-150
No files matched your search
@@ -0,0 +1,13 @@
|
||||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:toast/toast.dart';
|
||||
|
||||
class ViewUtils{
|
||||
|
||||
static displayToast(BuildContext context, String message){
|
||||
Toast.show(
|
||||
message, context,
|
||||
duration: Toast.LENGTH_SHORT,
|
||||
gravity: Toast.BOTTOM
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user