flutter_easy_utils 1.0.3+2 copy "flutter_easy_utils: ^1.0.3+2" to clipboard
flutter_easy_utils: ^1.0.3+2 copied to clipboard

outdated

A Flutter package to handle dialogs , snakbars , loading , shareprefranse , api requests and more.

example/example.md

Documentations #

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(),
        );
  }
}