swavkulinski / flutter-platform-specific-widgets

Purpose of this project is to create extendable architecture of making platform aware Widgets which automatically select platform specific implementation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Old good factory

Main obstacle in creating native experience on Flutter is the fact that you are asked to rebuild two layouts using platform specific widgets e.g. CupertinoButton and FlatButton, CupertinoNavBar or AppBar.

Instead of writing entire layout twice why not make widgets aware of the platform and provide specific implementation.

Solution is to use abstract widget which will provide two (or more in the future) implementations.

Getting Started

For help getting started with Flutter, view our online documentation.

About

Purpose of this project is to create extendable architecture of making platform aware Widgets which automatically select platform specific implementation


Languages

Language:Dart 89.5%Language:Swift 5.4%Language:Kotlin 4.6%Language:Objective-C 0.5%