flutter_easy_utils 1.0.3+4 flutter_easy_utils: ^1.0.3+4 copied to clipboard
A Flutter package to handle dialogs , snakbars , loading , shareprefranse , api requests and more.
Documentation #
First ### !Important #
you have to create a folder named languages
in your assets
directory with the defined languages in it.
An example structure could be :
assets
└── languages
├── en.json
└── ar.json
Here's an example of en.json
:
{
"hello": "Hello !"
}
and an example of ar.json
:
{
"hello": "مرحبا بك"
}
Basic #
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return EasyApp(
builder: (context) => Home(),
);
}
}