A collection of Flutter examples and demos.

Overview

Flutter samples

Build Status

A collection of open source samples that illustrate best practices for Flutter.

Visual samples index

The easiest way to browse through the samples in this repo (as well as a few others!) is the visual samples index.

Tip: minimize download size

As this repository is quite big, you can use svn to download a single example. For example:

svn co https://github.com/flutter/samples/trunk/provider_shopper

You can also use a shallow clone to download just the latest revision:

git clone --depth 1 https://github.com/flutter/samples.git

Interested in contributing?

See the contributor's guide!

Questions or issues?

If you have a general question about one of these samples or how to adapt its techniques for one of your own apps, try one of these resources:

If you run into a bug in one of the samples, please file an issue in the main Flutter repo.

Issues
  • Added sample code for multiple flutters on iOS

    Added sample code for multiple flutters on iOS

    issue: https://github.com/flutter/flutter/issues/74530

    opened by gaaclarke 18
  • [WIP] Adds linux implementation to federated plugin sample

    [WIP] Adds linux implementation to federated plugin sample

    Description

    Adds Linux implementation for the federated_plugin

    Issues

    Fixes #448

    opened by AyushBherwani1998 18
  • [gallery] flutter pub run grinder l10n got problem

    [gallery] flutter pub run grinder l10n got problem

    -> flutter pub run grinder l10n

    Output;

    grinder running generate-localizations l10n
    
    generate-localizations
      /home/aliyazdi75/flutter/bin/cache/dart-sdk/bin/dart /home/aliyazdi75/flutter/dev/tools/localization/bin/gen_l10n.dart --template-arb-file=intl_en_US.arb --output-localization-file=gallery_localizations.dart --output-class=GalleryLocalizations --preferred-supported-locales=["en_US"]
      Error: Could not resolve the package 'args' in 'package:args/args.dart'.
      Error: Could not resolve the package 'file' in 'package:file/local.dart'.
      Error: Could not resolve the package 'path' in 'package:path/path.dart'.
      ../../../../flutter/dev/tools/localization/bin/gen_l10n.dart:8:8: Error: Not found: 'package:args/args.dart'
      import 'package:args/args.dart' as argslib;
             ^
      ../../../../flutter/dev/tools/localization/bin/gen_l10n.dart:9:8: Error: Not found: 'package:file/local.dart'
      import 'package:file/local.dart' as local;
             ^
      ../../../../flutter/dev/tools/localization/bin/gen_l10n.dart:10:8: Error: Not found: 'package:path/path.dart'
      import 'package:path/path.dart' as path;
             ^
      Error: Could not resolve the package 'file' in 'package:file/file.dart'.
      Error: Could not resolve the package 'meta' in 'package:meta/meta.dart'.
      ../../../../flutter/dev/tools/localization/gen_l10n.dart:10:8: Error: Not found: 'package:path/path.dart'
      import 'package:path/path.dart' as path;
             ^
      ../../../../flutter/dev/tools/localization/localizations_utils.dart:9:8: Error: Not found: 'package:args/args.dart'
      import 'package:args/args.dart' as argslib;
             ^
    
    failed with exit code 254
    #0      run (package:grinder/src/run.dart:48:5)
    #1      Dart.run (package:grinder/grinder_sdk.dart:75:12)
    #2      generateLocalizations (file:///home/aliyazdi75/Documents/FlutterPackages/samples-master/gallery/tool/grind.dart:38:8)
    #3      _LibraryMirror._invoke (dart:mirrors-patch/mirrors_impl.dart:1086:36)
    #4      _ObjectMirror.invoke (dart:mirrors-patch/mirrors_impl.dart:243:25)
    #5      TaskDiscovery.discoverDeclaration.<anon> (package:grinder/src/discover_tasks.dart:79:38)
    #6      _rootRun (dart:async/zone.dart:1126:13)
    #7      _CustomZone.run (dart:async/zone.dart:1023:19)
    #8      _runZoned (dart:async/zone.dart:1518:10)
    #9      runZoned (dart:async/zone.dart:1465:12)
    #10     ZonedValue.withValue (package:grinder/src/utils.dart:112:12)
    #11     GrinderTask.execute (package:grinder/src/grinder_task.dart:63:27)
    #12     Grinder._invokeTask (package:grinder/src/grinder.dart:193:27)
    #13     Grinder.start.<anon> (package:grinder/src/grinder.dart:168:16)
    #14     Future.forEach.<anon> (dart:async/future.dart:492:26)
    #15     Future.doWhile.<anon> (dart:async/future.dart:534:26)
    #16     _RootZone.runUnaryGuarded (dart:async/zone.dart:1316:10)
    #17     _RootZone.bindUnaryCallbackGuarded.<anon> (dart:async/zone.dart:1355:26)
    #18     Future.doWhile (dart:async/future.dart:549:18)
    #19     Future.forEach (dart:async/future.dart:490:12)
    #20     Grinder.start (package:grinder/src/grinder.dart:167:21)
    #21     runTasks (package:grinder/src/cli.dart:67:39)
    #22     grind (package:grinder/grinder.dart:46:12)
    #23     main (file:///home/aliyazdi75/Documents/FlutterPackages/samples-master/gallery/tool/grind.dart:12:33)
    pub finished with exit code 1
    
    
    opened by aliyazdi75 16
  • Use generic iOS bundle IDs instead of ones reserved by the Flutter Apple Developer account

    Use generic iOS bundle IDs instead of ones reserved by the Flutter Apple Developer account

    When you try to build the sample add-to-app module apps with a non-Flutter development team, it will fail and complain that the bundle identifier isn't available (it's registered with the Flutter Apple Developer account).

    Change to a generic com.example bundle identifier to match what Apple sample apps do (com.example.apple-samplecode.something)

    opened by jmagman 13
  • multiple_flutters_android  Failed to spawn new JNI connected shell from existing shell.

    multiple_flutters_android Failed to spawn new JNI connected shell from existing shell.

    2021-03-09 11:13:34.196 26686-26686/dev.flutter.multipleflutters E/AndroidRuntime: FATAL EXCEPTION: main Process: dev.flutter.multipleflutters, PID: 26686 java.lang.RuntimeException: Unable to start activity ComponentInfo{dev.flutter.multipleflutters/dev.flutter.multipleflutters.DoubleFlutterActivity}: java.lang.IllegalStateException: Failed to spawn new JNI connected shell from existing shell. at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3762) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3938) at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85) at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2277) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:246) at android.app.ActivityThread.main(ActivityThread.java:8425) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:596) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130) Caused by: java.lang.IllegalStateException: Failed to spawn new JNI connected shell from existing shell. at io.flutter.util.Preconditions.checkState(Preconditions.java:52) at io.flutter.embedding.engine.FlutterJNI.spawn(FlutterJNI.java:342) at io.flutter.embedding.engine.FlutterEngine.spawn(FlutterEngine.java:383) at io.flutter.embedding.engine.FlutterEngineGroup.createAndRunEngine(FlutterEngineGroup.java:101) at dev.flutter.multipleflutters.EngineBindings.(EngineBindings.kt:45) at dev.flutter.multipleflutters.DoubleFlutterActivity$topBindings$2.invoke(DoubleFlutterActivity.kt:17) at dev.flutter.multipleflutters.DoubleFlutterActivity$topBindings$2.invoke(DoubleFlutterActivity.kt:15) at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74) at dev.flutter.multipleflutters.DoubleFlutterActivity.getTopBindings(Unknown Source:2) at dev.flutter.multipleflutters.DoubleFlutterActivity.onCreate(DoubleFlutterActivity.kt:49) at android.app.Activity.performCreate(Activity.java:8183) at android.app.Activity.performCreate(Activity.java:8167) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1309) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3735) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3938)  at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)  at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)  at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2277)  at android.os.Handler.dispatchMessage(Handler.java:106)  at android.os.Looper.loop(Looper.java:246)  at android.app.ActivityThread.main(ActivityThread.java:8425)  at java.lang.reflect.Method.invoke(Native Method)  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:596)  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130) 

    bug 
    opened by zhouxin1233 12
  • [Animations] Adding the title property in AppBar for each Page

    [Animations] Adding the title property in AppBar for each Page

    Description

    Fixes: #564

    I have added titleproperty of AppBar for each Route Page, Which Represents the Animation Type.

    opened by Raj-Dave368 12
  • Added tooling for copyright headers

    Added tooling for copyright headers

    Fixes: #665

    This will help the contributors to check if the code they have contributed is following the contributions guidelines by checking for copyright headers using Github Actions.

    @ditman @johnpryan Please Review and suggest changes :)

    opened by arteevraina 12
  • Use video_player_web

    Use video_player_web

    opened by cbenhagen 12
  • Push a bitcode enabled app to test flight

    Push a bitcode enabled app to test flight

    Now that Bitcode is available for Flutter apps, we'd like to measure what the store actually produces for an IPA.

    @RedBrogdon - could we create a build of Veggie Sessions or similar with bitcode enabled, publish it ot test flight, and measure it on some device(s)? I'd be happy to sit with you on this if it helps.

    p2 
    opened by dnfield 12
  • [CI]: Drop dev channel

    [CI]: Drop dev channel

    Drop dev channel from continuous integration.

    Pre-launch Checklist

    • [x] I read the Flutter Style Guide recently, and have followed its advice.
    • [x] I signed the CLA.
    • [x] I read the Contributors Guide.
    • [x] I updated/added relevant documentation (doc comments with ///).
    • [x] All existing and new tests are passing.

    If you need help, consider asking for advice on the #hackers-devrel channel on Discord.

    cla: yes 
    opened by domesticmouse 0
  • [CI]: `dart analyze --fatal-infos`

    [CI]: `dart analyze --fatal-infos`

    Make sure all flutter lint info is dealt with in CI

    Pre-launch Checklist

    • [x] I read the Flutter Style Guide recently, and have followed its advice.
    • [x] I signed the CLA.
    • [x] I read the Contributors Guide.
    • [x] I updated/added relevant documentation (doc comments with ///).
    • [x] All existing and new tests are passing.

    If you need help, consider asking for advice on the #hackers-devrel channel on Discord.

    cla: yes 
    opened by domesticmouse 0
  • Hotfix iOS add-to-app ANR related to flutter assets path not found

    Hotfix iOS add-to-app ANR related to flutter assets path not found

    Adding a call to xcode_backend embed script when building iOS project. WIthout this the error Failed to find assets path for "Frameworks/App.framework/flutter_assets" will occured.

    https://github.com/flutter/flutter/issues/29974

    Pre-launch Checklist

    • [x] I read the Flutter Style Guide recently, and have followed its advice.
    • [x] I signed the CLA.
    • [x] I read the Contributors Guide.
    • [ ] I updated/added relevant documentation (doc comments with ///).
    • [x] All existing and new tests are passing.

    If you need help, consider asking for advice on the #hackers-devrel channel on Discord.

    cla: yes 
    opened by TheVinhLuong 0
  • fix the issue of generating more than [catalogLength] items when [cat…

    fix the issue of generating more than [catalogLength] items when [cat…

    …alogLength] is not divisible by [itemsPerPage]

    It only checks if [startingIndex] is greater than [catalogLength] in the existing implementation. It doesn't check the index of an item in a page. So it may generate more items than the number specified by [catalogLength]. i.e if [catalogLength] is 113, the existing implementation will still generate 120 items. This PR solves the issue by adding the check for the indices of items in a page.

    cla: no 
    opened by qfgaohao 1
  • `navigation_and_routing` to handle initial path before login

    `navigation_and_routing` to handle initial path before login

    Would the below scenario add a value to the sample:

    1. The user opens the web browser with /book/3
    2. The web app redirects to /signin
    3. Sign in

    Expected

    • The app redirects to /book/3

    Actual

    • The app redirects to /books/popular
    p2 
    opened by asashour 5
  • Remove unnecessary types

    Remove unnecessary types

    Pre-launch Checklist

    • [X] I read the Flutter Style Guide recently, and have followed its advice.
    • [X] I signed the CLA.
    • [X] I read the Contributors Guide.
    • [ ] I updated/added relevant documentation (doc comments with ///).
    • [ ] All existing and new tests are passing.

    If you need help, consider asking for advice on the #hackers-devrel channel on Discord.

    cla: yes 
    opened by asashour 1
  • Error running perf_test in the testing_app sample

    Error running perf_test in the testing_app sample

    I had trouble getting the perf_test to work on a physical Android device. The model is Galaxy J7 (2016). I was able to run the app on the device in profile mode without an issue. Did I miss anything?

    CLI output:

    $ flutter drive --driver=integration_test/perf_driver.dart --target=integration_test/perf_test.dart --profile --trace-startup
    Running "flutter pub get" in testing_app...                        781ms
    Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
    Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
    Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
    Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
    Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
    Running Gradle task 'assembleProfile'...                         2,474ms
    ✓  Built build/app/outputs/flutter-apk/app-profile.apk (11.4MB).
    Installing build/app/outputs/flutter-apk/app.apk...                 4.8s
    VMServiceFlutterDriver: Connecting to Flutter application at http://127.0.0.1:57484/MuLxdx40N4k=/
    VMServiceFlutterDriver: Isolate found with number: 4331278427044967
    VMServiceFlutterDriver: Isolate is paused at start.
    VMServiceFlutterDriver: Attempting to resume isolate
    I/flutter ( 6002): 00:00 +0: Testing App Performance Tests Scrolling test
    D/libGLESv2( 6002): STS_GLApi : DTS, ODTC are not allowed for Package : dev.flutter.testing_app
    VMServiceFlutterDriver: Connected to Flutter application.
    I/flutter ( 6002): SocketException: OS Error: Connection refused, errno = 111, address = localhost, port
    = 57506
    I/flutter ( 6002): #0      _NativeSocket.startConnect (dart:io-patch/socket_patch.dart:681)
    I/flutter ( 6002): #1      _RawSocket.startConnect (dart:io-patch/socket_patch.dart:1704)
    I/flutter ( 6002): #2      RawSocket.startConnect (dart:io-patch/socket_patch.dart:27)
    I/flutter ( 6002): #3      Socket._startConnect (dart:io-patch/socket_patch.dart:1915)
    I/flutter ( 6002): #4      Socket.startConnect (dart:io/socket.dart:738)
    I/flutter ( 6002): #5      _ConnectionTarget.connect (dart:_http/http_impl.dart:2440)
    I/flutter ( 6002): #6      _HttpClient._getConnection.connect (dart:_http/http_impl.dart:2806)
    I/flutter ( 6002): #7      _HttpClient._getConnection (dart:_http/http_impl.dart:2811)
    I/flutter ( 6002): #8      _HttpClient._openUrl (dart:_http/http_impl.dart:2695)
    I/flutter ( 6002): #9      _HttpClient.openUrl (dart:_http/http_impl.dart:2569)
    I/flutter ( 6002): #10     _WebSocketImpl.connect (dart:_http/websocket_impl.dart:1027)
    I/flutter ( 6002): #11     WebSocket.connect (dart:_http/websocket.dart:380)
    I/flutter ( 6002): #12     vmServiceConnectUri (package:vm_service/vm_service_io.dart:32)
    I/flutter ( 6002): #13     IntegrationTestWidgetsFlutterBinding.enableTimeline
    (package:integration_test/integration_test.dart:247)
    I/flutter ( 6002): <asynchronous suspension>
    I/flutter ( 6002): #14     IntegrationTestWidgetsFlutterBinding.traceTimeline
    (package:integration_test/integration_test.dart:272)
    I/flutter ( 6002): <asynchronous suspension>
    I/flutter ( 6002): #15     IntegrationTestWidgetsFlutterBinding._runAndGetGCInfo
    (package:integration_test/integration_test.dart:347)
    I/flutter ( 6002): <asynchronous suspension>
    I/flutter ( 6002): #16     IntegrationTestWidgetsFlutterBinding.watchPerformance
    (package:integration_test/integration_test.dart:402)
    I/flutter ( 6002): <asynchronous suspension>
    I/flutter ( 6002): #17     main.<anonymous closure>.<anonymous closure>
    (file:///Users/taodong/Code/flutter/samples/testing_app/integration_test/perf_test.dart:28)
    I/flutter ( 6002): <asynchronous suspension>
    I/flutter ( 6002): #18     testWidgets.<anonymous closure>.<anonymous closure>
    (package:flutter_test/src/widget_tester.dart:170)
    I/flutter ( 6002): <asynchronous suspension>
    I/flutter ( 6002): #19     TestWidgetsFlutterBinding._runTestBody
    (package:flutter_test/src/binding.dart:803)
    I/flutter ( 6002): <asynchronous suspension>
    I/flutter ( 6002): 00:02 +0: Testing App Performance Tests Scrolling test [E]
    I/flutter ( 6002):   Test failed. See exception logs above.
    I/flutter ( 6002):   The test description was: Scrolling test
    I/flutter ( 6002):   
    I/flutter ( 6002): Consider enabling the flag chain-stack-traces to receive more detailed exceptions.
    I/flutter ( 6002): For example, 'dart test --chain-stack-traces'.
    I/flutter ( 6002): 00:02 +0 -1: Testing App Performance Tests Favorites operations test
    I/zygote  ( 6002): Do partial code cache collection, code=29KB, data=30KB
    I/zygote  ( 6002): After code cache collection, code=29KB, data=30KB
    I/zygote  ( 6002): Increasing code cache capacity to 128KB
    I/flutter ( 6002): SocketException: OS Error: Connection refused, errno = 111, address = localhost, port
    = 57507
    I/flutter ( 6002): #0      _NativeSocket.startConnect (dart:io-patch/socket_patch.dart:681)
    I/flutter ( 6002): #1      _RawSocket.startConnect (dart:io-patch/socket_patch.dart:1704)
    I/flutter ( 6002): #2      RawSocket.startConnect (dart:io-patch/socket_patch.dart:27)
    I/flutter ( 6002): #3      Socket._startConnect (dart:io-patch/socket_patch.dart:1915)
    I/flutter ( 6002): #4      Socket.startConnect (dart:io/socket.dart:738)
    I/flutter ( 6002): #5      _ConnectionTarget.connect (dart:_http/http_impl.dart:2440)
    I/flutter ( 6002): #6      _HttpClient._getConnection.connect (dart:_http/http_impl.dart:2806)
    I/flutter ( 6002): #7      _HttpClient._getConnection (dart:_http/http_impl.dart:2811)
    I/flutter ( 6002): #8      _HttpClient._openUrl (dart:_http/http_impl.dart:2695)
    I/flutter ( 6002): #9      _HttpClient.openUrl (dart:_http/http_impl.dart:2569)
    I/flutter ( 6002): #10     _WebSocketImpl.connect (dart:_http/websocket_impl.dart:1027)
    I/flutter ( 6002): #11     WebSocket.connect (dart:_http/websocket.dart:380)
    I/flutter ( 6002): #12     vmServiceConnectUri (package:vm_service/vm_service_io.dart:32)
    I/flutter ( 6002): #13     IntegrationTestWidgetsFlutterBinding.enableTimeline
    (package:integration_test/integration_test.dart:247)
    I/flutter ( 6002): <asynchronous suspension>
    I/flutter ( 6002): #14     IntegrationTestWidgetsFlutterBinding.traceTimeline
    (package:integration_test/integration_test.dart:272)
    I/flutter ( 6002): <asynchronous suspension>
    I/flutter ( 6002): #15     IntegrationTestWidgetsFlutterBinding._runAndGetGCInfo
    (package:integration_test/integration_test.dart:347)
    I/flutter ( 6002): <asynchronous suspension>
    I/flutter ( 6002): #16     IntegrationTestWidgetsFlutterBinding.watchPerformance
    (package:integration_test/integration_test.dart:402)
    I/flutter ( 6002): <asynchronous suspension>
    I/flutter ( 6002): #17     main.<anonymous closure>.<anonymous closure>
    (file:///Users/taodong/Code/flutter/samples/testing_app/integration_test/perf_test.dart:56)
    I/flutter ( 6002): <asynchronous suspension>
    I/flutter ( 6002): #18     testWidgets.<anonymous closure>.<anonymous closure>
    (package:flutter_test/src/widget_tester.dart:170)
    I/flutter ( 6002): <asynchronous suspension>
    I/flutter ( 6002): #19     TestWidgetsFlutterBinding._runTestBody
    (package:flutter_test/src/binding.dart:803)
    I/flutter ( 6002): <asynchronous suspension>
    I/flutter ( 6002): 00:04 +0 -1: Testing App Performance Tests Favorites operations test [E]
    I/flutter ( 6002):   Test failed. See exception logs above.
    I/flutter ( 6002):   The test description was: Favorites operations test
    I/flutter ( 6002):   
    I/flutter ( 6002): Consider enabling the flag chain-stack-traces to receive more detailed exceptions.
    I/flutter ( 6002): For example, 'dart test --chain-stack-traces'.
    I/flutter ( 6002): 00:04 +0 -2: Testing App Performance Tests (tearDownAll)
    I/flutter ( 6002): 00:04 +1 -2: Some tests failed.
    Failure Details:
    Failure in method: Scrolling test
    
    end of failure 1
    
    
    Failure in method: Favorites operations test
    
    end of failure 2
    

    Flutter doctor output:

    [✓] Flutter (Channel dev, 2.6.0-11.0.pre, on macOS 11.6 20G165 darwin-x64,
        locale en)
        • Flutter version 2.6.0-11.0.pre at /Users/taodong/Code/flutter/flutter
        • Upstream repository https://github.com/flutter/flutter.git
        • Framework revision 4b330ddbed (5 weeks ago), 2021-09-16 17:29:58 -0700
        • Engine revision 5b81c6d615
        • Dart version 2.15.0 (build 2.15.0-116.0.dev)
    
    [✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
        • Android SDK at /Users/taodong/Library/Android/sdk
        • Platform android-30, build-tools 30.0.2
        • Java binary at: /Applications/Android
          Studio.app/Contents/jre/Contents/Home/bin/java
        • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
        • All Android licenses accepted.
    
    [✓] Xcode - develop for iOS and macOS (Xcode 12.3)
        • Xcode at /Applications/Xcode.app/Contents/Developer
        • CocoaPods version 1.10.1
    
    [✓] Chrome - develop for the web
        • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
    
    [✓] Android Studio (version 2020.3)
        • Android Studio at /Applications/Android Studio.app/Contents
        • Flutter plugin can be installed from:
          🔨 https://plugins.jetbrains.com/plugin/9212-flutter
        • Dart plugin can be installed from:
          🔨 https://plugins.jetbrains.com/plugin/6351-dart
        • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    
    [✓] VS Code (version 1.61.1)
        • VS Code at /Applications/Visual Studio Code.app/Contents
        • Flutter extension version 3.27.0
    
    [✓] Connected device (3 available)
        • SM J710MN (mobile) • 5203ad88615794a7 • android-arm    • Android 8.1.0 (API 27)
        • macOS (desktop)    • macos            • darwin-x64     • macOS 11.6 20G165 darwin-x64
        • Chrome (web)       • chrome           • web-javascript • Google Chrome 95.0.4638.54
    
    • No issues found!
    
    
    bug 
    opened by InMatrix 8
  • Update contributor's guide

    Update contributor's guide

    Our contributor's guide is out of date and needs a refresh.

    p1 documentation 
    opened by RedBrogdon 0
  • Routing sample Dialog broken on web plaform, Back button does not close

    Routing sample Dialog broken on web plaform, Back button does not close

    The Routing and Navigation sample has a dialog accessible from the Settings screen. The Cancel/OK buttons use Navigator.pop() to close the dialog and that works https://github.com/flutter/samples/blob/69abb6146ab7b08da3e28cc14fe1d6ca18e5e3bd/navigation_and_routing/lib/src/screens/settings.dart#L81

    But when the dialog is open and the web browser's back button is pressed, the dialog stays open and the page behind it navigates back. This is wrong.

    I'm confident that this is would be highly unexpected UX for any real app--the back button should have the same effect as poping to maintain a consistent UX.

    This is a serious problem my team has been unable to solve. We've tried all of the following and none of them seem to trigger for the browser's back button:

    • WillPopScope
    • BackButtonListener
    • backButtonDispatcher.didPopRoute()
    • window.onBeforeUnload

    If we can't listen for the back button and warn the user about unsaved data loss and block the navigation, this is a serious limitation of the platform. How are people solving this? Thanks!

    opened by nolandg 0
  • navigation: add `break` here? A route shouldn't be defined twice.

    navigation: add `break` here? A route shouldn't be defined twice.

    https://github.com/flutter/samples/blob/c9688ca34b619246202c5866082e01e3d26167d9/navigation_and_routing/lib/src/routing/parser.dart#L48-L50

    enhancement 
    opened by kevmoo 4
Owner
Flutter
Flutter
FileManager is a wonderful widget that allows you to manage files and folders, pick files and folders, and do a lot more. Designed to feel like part of the Flutter framework.

File Manager FileManager is a wonderful widget that allows you to manage files and folders, pick files and folders, and do a lot more. Designed to fee

Devs On Flutter 28 Nov 12, 2021
News App created in Flutter using News API for fetching realtime data and Firebase as the backend and authenticator.

News Buzz News App created in Flutter using News API for fetching realtime data and Firebase as the backend and authenticator. Features Custom news fe

Ankur Kedia 501 Nov 18, 2021
A Simple Todo app design in Flutter to keep track of your task on daily basis. Its build on BLoC Pattern. You can add a project, labels, and due-date to your task also you can sort your task on the basis of project, label, and dates

WhatTodo Life can feel overwhelming. But it doesn’t have to. A Simple To-do app design in flutter to keep track of your task on daily basis. You can a

Burhanuddin Rashid 908 Dec 2, 2021
gui automation based on pyautogui python as backend and flutter desktop as frontend, drag and drop tool, no coding required.

GUI_AUTOMATION gui automation based on pyautogui python as backend and flutter desktop as frontend, drag and drop tool, no coding required. Install py

Hassan Kanso 26 Oct 28, 2021
GetDoctor is a complete app developed in Flutter, Firebase and Blazor,.Net Core API and SQL Server

GetDoctor ?? ?? ?? GetDoctor is a complete app developed in Flutter, Firebase and Blazor,DotNet Core API and SQL Server GetDoctor is a complete packag

Sunil Vijayan 28 Oct 25, 2021
An android app built using flutter that displays and forecast the specific city Weather and Climate for dynamic time event by collecting the data from API that is provided for free by OPENWEATHER site.

clima_weather_reporter A new Flutter application. Getting Started This project is a starting point for a Flutter application. A few resources to get y

dev_allauddin 4 Nov 17, 2021
Starter architectures for your next Flutter project in order to make it scalable and easy for maintenance and tests.

?? ?? ?? Flutter Starter Architecture (MVVM) My custom starter project for Flutter apps. I was looking for a simple way to build Flutter app in a scal

Junior Medehou 8 Oct 12, 2021
Flitter Hadrien Lejard Kevin SegaudFlitter [182⭐] - Glitter app by Hadrien Lejard and Kevin Segaud. It uses Redux and Jaguar.

flitter Gitter Client for Mobile made with Flutter Getting Started For help getting started with Flutter, view our online documentation. Configuration

null 183 Sep 22, 2021
𝐂𝐨𝐯 𝐀𝐡𝐞𝐚𝐝 is a mobile application to track and create better Covid-19 route maps for both shop owners and customers

Cov Ahead Cov Ahead is a mobile application where shopkeepers have an app that shows QR code and users can scan this QR code which will automatically

Abhijith Kp 3 May 30, 2021
AI powered plant disease detection and assistance platform currently available as an App and API.

SUSya - Plant ?? Disease ?? Detector ?? ML Powered App to assist farmers in crop disease detection and alerts. Product Walkthrough SUSya.Demo.mp4 Down

Nanda Kishor M Pai 23 Nov 22, 2021
The FlexGrid control provides a powerful and quickly way to display data in a tabular format. It is including that frozened column/row,loading more, high performance and better experience in TabBarView/PageView.

flex_grid Language: English| 中文简体 The FlexGrid control provides a powerful and quickly way to display data in a tabular format. It is including that f

FlutterCandies 25 Nov 17, 2021
Plaso Connect is an application which acts as a one-stop solution where the people requiring blood plasma/oxygen can directly find and contact the donors and healthcare units as per their requirements

PLASO CONNECT - The Lifeline A one-stop platform for COVID relief resources -- Connecting patients with Plasma donors and oxygen suppliers. Built for

Niloy Sikdar 8 Oct 24, 2021
Flutter app backed by Redux, shows animations, internationalization (i18n), ClipPath, fonts and others...

A Flutter tourism app that is backed-by Redux, shows animations, internationalization (i18n, English <=> Arabic), ClipPath, and fonts. YouTube demo I

Abdulmomen Kadum عبدالمؤمن كاظم 250 Nov 18, 2021
Timy - open source mobile app for groups to communicate and organize themselves. Built with flutter.

Timy app An amazing open-source group messaging app build with flutter. ✨ Main Features Multiple groups (similar to Teams in Slack). Multiple open or

null 1.7k Nov 22, 2021
Fully functional Twitter clone built in flutter framework using Firebase realtime database and storage

Fwitter - Twitter clone in flutter A working Twitter clone written in Flutter using Firebase auth,realtime,firestore database and storage. Download Ap

Sonu Sharma 1.5k Nov 23, 2021
A multiplatform Dart movie app with 40% of code sharing between Flutter and the Web.

A multiplatform Dart movie app with 40% of code sharing between Flutter and the Web.

Iiro Krankka 3.2k Nov 24, 2021
Best ever drawer in flutter for android and ios

Drawer in Flutter Best ever drawer in flutter to make precious application. This flutter app is made just to demonstrate how you we can make an animat

Asad Malik 22 Sep 10, 2021
Simple and modern news app that incorporates REST API (newsapi.org), all built entirely with Flutter.

A simple news app with a minimalistic and clean UI that incorporates the newsapi.org api all built entirely with Flutter. Be sure to leave a star ??

Carlton Aikins 59 Nov 19, 2021