FLUTTER ECOSYSTEM

aleksanderwozniak/deer

BLoC पैटर्न का उपयोग करके बनाया गया न्यूनतम फ्लटर टोडो ऐप

हिरण प्रोजेक्ट कवर
Stars
459
Forks
103
अंतिम पुश (UTC)
11 नव॰ 2020
प्रोजेक्ट स्थिति
सक्रिय
Aleksander Woźniak GitHub avatar
GITHUB User

Aleksander Woźniak ↗

Flutter and Kotlin enthusiast

भाषाएँDartKotlinObjective-C

तकनीकी विषय

संबंधित पैकेज और उदाहरण

v5.1.1

built_collection

SDK संग्रहों पर आधारित अपरिवर्तनीय संग्रह। प्रत्येक SDK संग्रह क्लास को एक नए अपरिवर्तनीय संग्रह क्लास और एक संगत परिवर्तनीय बिल्डर क्लास में विभाजित किया गया है।

343लाइक 50 लाख30-दिन डाउनलोड150Pub अंक
AndroidiOSWebmacOSWindowsLinux
link_text कवरv0.2.1

link_text

Flutter ऐप्स के लिए आसानी से उपयोग करने वाला टेक्स्ट विजेट, जो इनलाइन URL को क्लिक करने योग्य लिंक में बदलता है। कस्टम स्टाइलिंग की अनुमति देता है।

49लाइक 3.2 हज़ार30-दिन डाउनलोड140Pub अंक
AndroidiOSWebmacOSWindowsLinux

उपयोग की गई निर्भरताएँ

निर्भरता सूची 19 आइटम

ऐप श्रेणियाँ

रैंकिंग

मूल README

यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।

README खोलें / बंद करें

Deer

https://github.com/aleksanderwozniak/deer/blob/master/assets/images/4.0x/deer_logo.png

Minimalist Todo Planner app built around the idea of efficiency and clean aesthetic.

Showcase

https://github.com/aleksanderwozniak/deer/blob/assets/deer.gif https://github.com/aleksanderwozniak/deer/blob/assets/indi_list.png https://github.com/aleksanderwozniak/deer/blob/assets/gold_shp_edt.png https://github.com/aleksanderwozniak/deer/blob/assets/mint_wrk_det.png

Development

Deer uses BLoC (Business Logic Component) pattern to manage app state. If you want to use Streams in your Flutter project, then I think this is the way to go. BLoC plays exceptionally well with Flutter's reactive nature, especially since Flutter has built-in StreamBuilder widget.

Each screen is splitted into 4 files:

  • actions
  • bloc
  • screen (UI itself)
  • state

Instead of calling setState() in screen file, an action is pushed to bloc's input Stream<Action>. Then, bloc resolves that action and updates the output Stream<State>. Every state update is listened to inside screen with StreamBuilder, which updates the UI when needed. This way we achieve clear separation of concerns.

Usually with BLoC, Sink is used for input Stream, and BehaviorSubject for output Stream.

Check those resources for more details on the pattern:

  • https://youtu.be/PLHln7wHgPE
  • https://youtu.be/RS36gBEp8OI
Using built_value
flutter packages pub run build_runner build --delete-conflicting-outputs