GitHub リポジトリabdelrahmanelmarakby/Ease

簡単さ

このリポジトリは、カスタムウィジェット 🟥 やアニメーション 🌟 など、Flutterで再利用可能なものをすべて収録しています

簡単さ のプロジェクト画像
スター
98
フォーク
11
最終プッシュ(UTC)
2022/12/03
プロジェクト状態
公開中

元の README

以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。

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 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

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

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"
)
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 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 ??

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

https://t.me/joinchat/p9O1YRT_NlQwZDZk

just wish and I will do my best to add it super fast,Please Star and support this repo
Elmarakbeno GitHub avatar
GitHub 作者

Elmarakbeno ↗

egypt
言語Dart

カテゴリー

使用している依存関係

依存関係一覧 6 件

プロジェクトに合うリポジトリを選ぶには?

用途で絞り込み、開発状況を比較し、採用前に元のリポジトリで要件を確認しましょう。

  1. 名前・作者・説明で検索し、技術トピックで絞り込みます。
  2. スター、フォーク、最近のプッシュを比較します。スターは関心の目安であり、品質の保証ではありません。
  3. 利用前に GitHub で README、ライセンス、Issues を確認します。

情報源と管理

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗