Ease

This packa is for anything that can be reusable in flutter like custom widgets ๐ŸŸฅ, animations ๐ŸŒŸand more.

Features

  • 1-custom text widget to ease its usage
  • 2- custom text field widget with cool validation
  • 3-super cool animated splash screen
  • 4- easy to use geolocator and connectivity service in one line
  • 5- Super useful extensions.
  • 6-dynamic theme with persistence that can be implemented in 1 min (coming soon)
  • 7-the easiest localization implementation (coming soon)
  • 8-credit card widget
  • 9-Animated ProductCard widget
  • 10- 2 awesome Animated NavBars widgets and easy to use
  • many validators to use

Getting started

go to your Android/app/build.gradle file and edit your compileSdkVersion to 31

android {
    compileSdkVersion 31

Usage

Widgets and how to use them

TextFormField with simple validation indicator

EaseTxtForm(
controller:myEditingController, 
)

Text with simplified usage

EaseTxt("Hello World",
color:Colors.blue
)

Glass Container

EaseGlassContainer(
child:Txt("Hello World",
color:Colors.blue
    )
)

Animated ProductCard

 EaseProductCard(
                                  image: NetworkImage(
                                      "https://cdn-icons.flaticon.com/png/512/2930/premium/2930679.png?token=exp=1638474347~hmac=f895ca5646f06b4e9703ebd80aa8fa9a"),
                                  title: "GOOD PACKAGE",
                                  primarytActionLabel: "PRIMARY ACTION",
                                  price:"300 EGP",
                                  rate: 3,
                                ),

Awesome TabBar and Easy to use

EaseTabBar(
    iconButtons=[]
    child:Column(
        
    )
)

SplashScreen With animation

EaseSplashScreen(
    homePage:HomeScreen(),
    logo:Image.asset("assets/logo");
    slogan:"PR are welcome"
)

Services and how to use them

in each service, you will find what to import and how to use

eg: Location Service will tell you to use Getx and geolocator package. and use it like that

Position location= await EaseLocatorService.determinePosition();

easy isn't it ??

Additional information

if you have any idea that you think will be a good addittion contribure or add an issue to the github repo feel stuck on something ? join our telegram group

t.me/joinchat/p9O1YRT_NlQwZDZk

I will do my best to add it super fast,Please Star and support this repo

Libraries

animations/hero_page_route
ease
extensions/build_context
extensions/ease_utils
extensions/hex_color
extensions/string
extensions/widget
Utilities_and_helper_widgets/connectivity_service
Utilities_and_helper_widgets/locator_service
Utilities_and_helper_widgets/theme_service
How to use this : 1- Make object from Themes Class (ex : Themes themes = new Themes(lightTheme:ThemeData(...), darkTheme:ThemeData(...));) 3- change theme like this : ThemeService().switchTheme();
Utilities_and_helper_widgets/translations_service
1-import get in to your pubspec.yaml 4- don't forget to add .tr to your Strings like this Text("tranlated text".tr)
widgets/animated_menu_tabbar
widgets/animated_product_card
widgets/bottom_nav_bar
widgets/credit_card
widgets/glass_container
widgets/splash screens/splash_screen1
widgets/text
widgets/txt_form