This packa is for anything that can be reusable in flutter like custom widgets 🟥, animations 🌟and more.
- 1-custom
text
widget to ease its usage - 2- custom
text field
widget with cool validation UI - 3-super cool animated
splash screen
- 4- easy to use
geolocator
location service - 5- dart extension to convert default colors to hex colors
- 6-dynamic theme with persistence that can be implemented in 1 min
- 7-the easiest localization implementation
- 8-credit card widget
go to your Android/app/build.gradle file and edit your compileSdkVersion to 31
android {
compileSdkVersion 31
TextFormField with simple validation indicator
TxtForm(
controller:myEditingController,
)
Text with simplified usage
Txt("Hello World",
color:Colors.blue
)
SplashScreen With animation
SplashScreenWidget(
homePage:HomeScreen(),
logo:Image.asset("assets/logo");
slogan:"PR are welcome"
)
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 LocatorService.determinePosition();
this how to add dark and light theme in your project
var myThemes=Theme(ThemeData.light,ThemeData.dark);
MaterialApp(
theme:myThemes.light
darkTheme:myThemes.dark
themeMode:ThemeService().theme
)
ThemeService().switchTheme();
easy isn't it ??
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