Skip to content

About

Some examples of Flutter

Resources

Stars

2 stars

Watchers

2 watching

Forks

Latest commit

 

History

183 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flutter-examples

Some examples of Flutter

Example apps

  1. ListView simple

Reference: ListTile Class

  1. ListView Dismissible

Reference: Implement swipe to dismiss

  1. Work with long lists

How to use ListView.builder

Reference: Work with long lists

  1. shared preferences

Reference: Shared preferences plugin

Saving and reading data in Flutter with SharedPreferences

  1. async await

Reference: Asynchronous programming: futures, async, await

Future.wait

How to run multiple Dart futures in parallel

Dartlang wait more than one future

Future.then chain call

Flutter篇之你真的会使用Future吗?

Futurn.forEach

Dart Fundamentals – Async / Await

  1. Container

Reference: Container class

  1. startup_namer

Reference: Write your first Flutter app, part 1

Write your first Flutter app, part 2

  1. Debugging UI Cheat Sheet

Reference: Debugging UI Cheat Sheet

  1. InkWell

Reference: InkWell class

  1. url_launcher

Reference: url_launcher

  1. encrypt_example

Reference: encrypt

  1. qrscan_example

Only support Android.

Reference: qrscan

  1. RaisedButton

Reference: RaisedButton

  1. FlatButton

Reference: FlatButton

  1. IconButton Example, IconButton adding a filled background, Ink Widget, Padding Widget

Reference: IconButton

  1. Outline Button

Reference: OutlineButton

  1. Row, FittedBox

Flutter Row

Reference: Row

  1. ConstrainedBox, SizedBox, BoxConstrains.tightFor()

Reference: 尺寸限制类容器

  1. qr_code_scanner example

reference: https://pub.dev/packages/qr_code_scanner

  1. simple dialog

Reference: SimpleDialog Class

  1. alert dialog

textfield in an AlertDialog

Reference: AlertDialog class

  1. flutter_slidable

slidable list item

Reference: flutter_slidable

  1. nested_tabs

Reference: https://github.com/Oclemy/nested_tabs

  1. BotToast

BotToast, including Notification and Loading

Reference: https://pub.dev/packages/bot_toast

  1. provider

Provider example

Reference: https://pub.dev/packages/provider#-example-tab-

  1. provider_shopper

Provider shopper example

An animated gif of the app in action

Reference: https://github.com/flutter/samples/tree/master/provider_shopper

Reference: Simple app state management

  1. permission_handler

Reference: https://pub.dev/packages/permission_handler#-readme-tab-

  1. expanded

This example shows how to use an [Expanded] widget in a [Column] so that it's middle child, a [Container] here, expands to fill the space.

Reference: Expanded class

  1. expanded with flex factor

This example shows how to use an [Expanded] widget in a [Row] with multiple children expanded, utilizing the [flex] factor to prioritize available space.

Reference: Expanded class

  1. file_picker_example

A package that allows you to use a native file explorer to pick single or multiple absolute file paths, with extensions filtering support.

Reference: [file_picker][https://pub.dev/packages/file_picker]

  1. listview_gridview_example

Reference: Flutter: ListView & GridView

  1. grid_and_list_example

Reference: Layouts in Flutter

  1. stack_example_1

Reference: Layouts in Flutter

  1. stack_example_2

Reference: Layouts in Flutter

  1. stack_example_3

Reference: Stack class

  1. streamdemo

Stream.fromFuture

Reference: Flutter----Stream讲解

  1. streamdemo_1

Stream onDone

Reference: Flutter----Stream讲解

  1. streamdemo_2

StreamSubscription pause resume cancel

Reference: Flutter----Stream讲解

  1. streamdemo_3

StreamController

Reference: Flutter----Stream讲解

  1. streamdemo_4

StreamBuilder

Reference: Flutter----Stream讲解

  1. bottom navigation example

reference: How to Create a BottomNavigationBar with Flutter

  1. DefaultTabController

reference: Work with tabs

  1. carousel_slider example

reference: carousel slider

  1. flutter_spinkit example

reference: flutter spinkit

  1. dio example

reference: dio example

  1. tabcontroller example
tabcontroller_example.mp4

reference: TabController Class

  1. pagecontroller example
pagecontroller_example.mp4

reference: PageController Class

  1. percent_indicator example

reference: percent_indicator

About

Some examples of Flutter

Resources

Stars

2 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages