1
0
mirror of https://github.com/nisrulz/flutter-examples.git synced 2025-11-08 12:39:17 +00:00

New Example - Platform Adaptive Example (#121)

* Adding Platform Adaptive Example

* Adding screenshots
This commit is contained in:
Bryce Cole
2022-10-22 14:13:07 -04:00
committed by GitHub
parent 1564ccdff2
commit b0d917b05a
131 changed files with 4475 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
# Using Platform Adaptive Pattern
Example app showing usage of the Platform Adaptive Pattern.
Flutter's flagship feature is it's ability to write code once and have it run on multiple devices. While this is great, sometimes you want the user interface to look more native to its platform. This project showcases the Platform Adaptive pattern, a powerful pattern that allows you to create widgets that you write once and look natural on any device. The demo is just set up to work on android and iOS but can be extended to work on web, native and any other platform flutter supports.
Pattern is inspired by [this article](https://codewithandrea.com/videos/flutter-platform-aware-widgets-dialogs/)
# Demo
![android](android-example.jpg)
![iOS](iOS-example.jpg)
## Getting Started
For help getting started with Flutter, view online [documentation](http://flutter.dev/).