Flutter Gallery is a resource to help developers evaluate and use Flutter

Overview

Flutter Gallery

Flutter Gallery is a resource to help developers evaluate and use Flutter. It is a collection of Material Design & Cupertino widgets, behaviors, and vignettes implemented with Flutter. We often get asked how one can see Flutter in action, and this gallery demonstrates what Flutter provides and how it behaves in the wild.

Flutter Gallery

Running Flutter Gallery on Flutter's master channel

The Flutter Gallery targets Flutter's master channel. As such, it can take advantage of new SDK features that haven't landed in the stable channel.

If you'd like to run the Flutter Gallery, make sure to switch to the master channel first:

flutter channel master
flutter upgrade

When you're done, use this command to return to the safety of the stable channel:

flutter channel stable
flutter upgrade

Supported Platforms

Flutter Gallery has been built to support multiple platforms. This includes:

  • Android
  • iOS
  • web
  • macOS
  • Linux
  • Windows

An APK, macOS, Linux, and Windows builds are available for download. You can find it on the web at gallery.flutter.dev and on the Google Play Store.

You can build from source yourself for any of these platforms, though, please note desktop support must be enabled. For example, to run the app on Windows:

cd gallery/
flutter config --enable-windows-desktop
flutter create .
flutter run -d windows

Additionally, the UI adapts between mobile and desktop layouts regardless of the platform it runs on. This is determined based on window size as outlined in adaptive.dart.

To include a new splash animation

  1. Convert your animation to a .gif file. Ideally, use a background color of 0xFF030303 to ensure the animation blends into the background of the app.

  2. Add your new .gif file to the assets directory under assets/splash_effects. Ensure the name follows the format splash_effect_$num.gif. The number should be the next number after the current largest number in the repository.

  3. Update the map _effectDurations in splash.dart to include the number of the new .gif as well as its estimated duration. The duration is used to determine how long to display the splash animation at launch.

Generating localizations

If this is the first time building the Flutter gallery, the localized code will not be present in the project directory. However, after running the application for the first time, a synthetic package will be generated containing the app's localizations through importing package:flutter_gen/gen_l10n/.

See separate README for more details.

Generating highlighted code segments

To generate highlighted code segments, make sure that you have grinder installed by running

flutter pub get

To generate code segments (see separate README for more details):

flutter pub run grinder update-code-segments

Creating a new release (for Flutter org members)

  1. Create a PR to bump the version number up in pubspec.yaml. Use semantic versioning to determine which number to increment. The version number after the +should also be incremented. For example 1.2.3+010203 with a patch should become 1.2.4+010204.

  2. Create a tag on master branch after the version bump PR is merged. This will start a Github Actions job that will draft a release with desktop applications and apk included.

    git pull upstream master
    git tag v1.2.3
    git push upstream v1.2.3
  3. Publish the firebase hosted web release.

    • Log in to the account that has write access to gallery-flutter-dev with firebase login
    • flutter pub run grinder build-web
    • firebase deploy -P prod to deploy to production (equivalent to firebase deploy).
    • firebase deploy -P staging to deploy to staging. Check with the team to see if the staging instance is currently used for a special purpose.
  4. Write some release notes about what changes have been done since the last release.

  5. Publish the Android release

    • Ensure you have the correct signing certificates.
    • Create the app bundle with flutter build appbundle.
    • Include the release notes in "What's new".
    • Upload to the Play store console and publish.
  6. Go to Releases and see the latest draft.

    • Include the release notes in the description.
    • Publish the release.
Issues
  • Error

    Error "Unexpected child "deferred-components" found under "flutter". "

    Describe the bug Whenever I am trying to run flutter run -d chrome or trying to run project I get error saying

    Unexpected child "deferred-components" found under "flutter". Please correct the pubspec.yaml file at D:\yaseen\gallery\pubspec.yaml

    image

    bug 
    opened by agwanyaseen 15
  • android.content.res.Resources$NotFoundException: File res/drawable-v21/launch_background.xml

    android.content.res.Resources$NotFoundException: File res/drawable-v21/launch_background.xml

    Describe the bug

    Previously I was building and running fine. I don't remember making any change, but recently, I run into such errors while building and running the app on a Samsung Galaxy Note 3 through Android Studio:

    Launching lib\main.dart on SM N900 in debug mode...
    Running Gradle task 'assembleDebug'...
    E/AndroidRuntime(12731): FATAL EXCEPTION: main
    E/AndroidRuntime(12731): Process: io.flutter.demo.gallery, PID: 12731
    E/AndroidRuntime(12731): java.lang.RuntimeException: Unable to start activity ComponentInfo{io.flutter.demo.gallery/io.flutter.demo.gallery.MainActivity}: android.content.res.Resources$NotFoundException: File res/drawable-v21/launch_background.xml from drawable resource ID #0x7f040000
    E/AndroidRuntime(12731): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2693)
    E/AndroidRuntime(12731): 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2758)
    E/AndroidRuntime(12731): 	at android.app.ActivityThread.access$900(ActivityThread.java:177)
    E/AndroidRuntime(12731): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1448)
    E/AndroidRuntime(12731): 	at android.os.Handler.dispatchMessage(Handler.java:102)
    E/AndroidRuntime(12731): 	at android.os.Looper.loop(Looper.java:145)
    E/AndroidRuntime(12731): 	at android.app.ActivityThread.main(ActivityThread.java:5942)
    E/AndroidRuntime(12731): 	at java.lang.reflect.Method.invoke(Native Method)
    E/AndroidRuntime(12731): 	at java.lang.reflect.Method.invoke(Method.java:372)
    E/AndroidRuntime(12731): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)
    E/AndroidRuntime(12731): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
    E/AndroidRuntime(12731): Caused by: android.content.res.Resources$NotFoundException: File res/drawable-v21/launch_background.xml from drawable resource ID #0x7f040000
    E/AndroidRuntime(12731): 	at android.content.res.Resources.loadDrawableForCookie(Resources.java:3752)
    E/AndroidRuntime(12731): 	at android.content.res.Resources.loadDrawable(Resources.java:3620)
    E/AndroidRuntime(12731): 	at android.content.res.Resources.getDrawable(Resources.java:1852)
    E/AndroidRuntime(12731): 	at android.content.res.Resources.getDrawable(Resources.java:1818)
    E/AndroidRuntime(12731): 	at io.flutter.embedding.android.FlutterActivity.getSplashScreenFromManifest(FlutterActivity.java:495)
    E/AndroidRuntime(12731): 	at io.flutter.embedding.android.FlutterActivity.provideSplashScreen(FlutterActivity.java:469)
    E/AndroidRuntime(12731): 	at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onCreateView(FlutterActivityAndFragmentDelegate.java:301)
    E/AndroidRuntime(12731): 	at io.flutter.embedding.android.FlutterActivity.createFlutterView(FlutterActivity.java:520)
    E/AndroidRuntime(12731): 	at io.flutter.embedding.android.FlutterActivity.onCreate(FlutterActivity.java:414)
    E/AndroidRuntime(12731): 	at android.app.Activity.performCreate(Activity.java:6283)
    E/AndroidRuntime(12731): 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
    E/AndroidRuntime(12731): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2646)
    E/AndroidRuntime(12731): 	... 10 more
    E/AndroidRuntime(12731): Caused by: org.xmlpull.v1.XmlPullParserException: Binary XML file line #4: <item> tag requires a 'drawable' attribute or child tag defining a drawable
    E/AndroidRuntime(12731): 	at android.graphics.drawable.LayerDrawable.inflateLayers(LayerDrawable.java:202)
    E/AndroidRuntime(12731): 	at android.graphics.drawable.LayerDrawable.inflate(LayerDrawable.java:147)
    E/AndroidRuntime(12731): 	at android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:1150)
    E/AndroidRuntime(12731): 	at android.graphics.drawable.Drawable.createFromXml(Drawable.java:1063)
    E/AndroidRuntime(12731): 	at android.content.res.Resources.loadDrawableForCookie(Resources.java:3736)
    E/AndroidRuntime(12731): 	... 21 more
    

    Flutter doctor Copy and paste the output of flutter doctor -v here

    >flutter doctor -v
    [√] Flutter (Channel master, 1.24.0-8.0.pre.1, on Microsoft Windows [Version 10.0.19041.264], locale en-US)
        • Flutter version 1.24.0-8.0.pre.1 at C:\Users\m3\repos\flutter
        • Framework revision e444b1e3fa (5 weeks ago), 2020-10-30 00:41:52 -0400
        • Engine revision 99cc50dfff
        • Dart version 2.11.0 (build 2.11.0-266.0.dev)
    
    [√] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
        • Android SDK at C:\Users\m3\AppData\Local\Android\sdk
        • Platform android-30, build-tools 30.0.1
        • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
        • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
        • All Android licenses accepted.
    
    [√] Chrome - develop for the web
        • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
    
    [√] Android Studio (version 4.0)
        • Android Studio at C:\Program Files\Android\Android Studio
        • Flutter plugin version 50.0.1
        • Dart plugin version 193.7547
        • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    
    [√] Connected device (3 available)
        • SM N900 (mobile) • 4d00b6ae472d80eb • android-arm    • Android 5.0 (API 21)
        • Web Server (web) • web-server       • web-javascript • Flutter Tools
        • Chrome (web)     • chrome           • web-javascript • Google Chrome 87.0.4280.66
    
    • No issues found!
    
    

    To Reproduce Steps to reproduce the behavior:

    1. Git checkout master branch
    2. Open Android Studio
    3. Connect your Android smartphone device to computer through USB port
    4. Click the green triangle to build and run the app on the device
    5. Error are thrown on terminal

    Expected behavior No error or exception is expected. The app should build and run fine on the device.

    Screenshots

    image

    Desktop information:

    • OS: Windows 10
    • Browser Opera
    • Version:72.0.3815.400

    Smartphone information:

    • Device: Samsung Galaxy Note 3
    • OS: Android 5.0
    • Browser Opera
    • Version 60.3.3004.55692

    Additional context Such posts show that maybe the Gradle build system needs to be configured differently, not sure:

    https://stackoverflow.com/a/39419701/3405291

    bug 
    opened by Megidd 12
  • Added Top App Bar Demo to Material section

    Added Top App Bar Demo to Material section

    Gallery side - Closes #189

    image image

    opened by Alabhya268 12
  • Update to flutter 1.17?

    Update to flutter 1.17?

    E.G.: TextTheme has changed in 1.17

    opened by Mister-Hope 11
  • Fix typography_demo body_text

    Fix typography_demo body_text

    Fixed it because the description and style didn't match up. In addition, the order was adjusted to the other. Thank you!

    opened by mi6ock 10
  • Use writeTimelineToFile

    Use writeTimelineToFile

    writeSummaryToFile is being deprecated in https://github.com/flutter/flutter/pull/79310

    opened by dnfield 10
  • Overflow web view fix

    Overflow web view fix

    Hi,

    I fixed the problem of overflow on the web view. The related issue is https://github.com/flutter/gallery/issues/420 . Can you review my pull request?

    opened by gozeloglu 10
  • Ensure sliders have useful a11y labels

    Ensure sliders have useful a11y labels

    It would be nice if these sliders had accessibility labels, just as an example for developers to follow. Currently, screen readers only read the value

    enhancement P1 a11y demo 
    opened by guidezpl 8
  • Update dependencies and platform directories

    Update dependencies and platform directories

    Description

    This updates the url_launcher to ^5.6.0 so that it includes Windows, and adds the missing platform directories for web, windows, and linux.

    Related Issues

    • Fixes https://github.com/flutter/flutter/issues/65862
    opened by gspencergoog 8
  • `CupertinoPicker`s don't respond to mouse click events

    `CupertinoPicker`s don't respond to mouse click events

    Steps to Reproduce

    1. Go to https://gallery.flutter.dev/#/demo/cupertino-picker (desktop web)
    2. Open any picker
    3. Try to change the value by clicking with the mouse

    Expected results: I can rotate the wheels of the picker Actual results: Nothing moves

    Logs
    [✓] Flutter (Channel stable, 2.5.3, on Microsoft Windows [Versión 10.0.22000.258], locale es-ES)
        • Flutter version 2.5.3 at C:\src\flutter
        • Upstream repository https://github.com/flutter/flutter.git
        • Framework revision 18116933e7 (6 days ago), 2021-10-15 10:46:35 -0700
        • Engine revision d3ea636dc5
        • Dart version 2.14.4
    
    [✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
        • Android SDK at C:\Users\crist\AppData\Local\Android\Sdk
        • Platform android-31, build-tools 31.0.0
        • ANDROID_HOME = C:\Users\crist\AppData\Local\Android\Sdk
        • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
        • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
        • All Android licenses accepted.
    
    [✓] Chrome - develop for the web
        • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
    
    [✓] Android Studio (version 2020.3)
        • Android Studio at C:\Program Files\Android\Android Studio
        • 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-7249189)
    
    [✓] VS Code (version 1.61.0)
        • VS Code at C:\Users\crist\AppData\Local\Programs\Microsoft VS Code
        • Flutter extension version 3.27.0
    
    [✓] Connected device (3 available)
        • SM A217F (mobile) • RF8R30GZ8DJ • android-arm64  • Android 11 (API 30)
        • Chrome (web)      • chrome      • web-javascript • Google Chrome 94.0.4606.81
        • Edge (web)        • edge        • web-javascript • Microsoft Edge 94.0.992.50
    
    opened by Zazo032 1
  • iOS Build and Sign GitHub Action

    iOS Build and Sign GitHub Action

    Could be nice to add iOS Build, Sign and Publish to Apple Store GitHub Action example the same as Android example:

    https://github.com/flutter/gallery/tree/master/.github/workflows

    enhancement 
    opened by zs-dima 7
  • Improve and fix release workflows

    Improve and fix release workflows

    Fixes

    • Update Fastfile dependencies
    • Disable deferred loading (re-opened #518)
    • Specify Github Action versions

    Improvements

    • Rename release workflow files
    • Add a workflow to automatically create tags based on pubspec version (tag creation triggers staging by the release workflows)
      • no more pushing tags manually
    opened by guidezpl 0
  • Deferred components causes release builds to fail

    Deferred components causes release builds to fail

    flutter build appbundle -v --no-deferred-components successfully completes, whereas flutter build appbundle -v fails:

    [   +2 ms] [   +1 ms] Running font-subset: /Users/plg/development/flutter-dev/bin/cache/artifacts/engine/darwin-x64/font-subset
    /Users/plg/development/gallery/build/app/intermediates/flutter/release/flutter_assets/fonts/MaterialIcons-Regular.otf
    /Users/plg/development/flutter-dev/bin/cache/artifacts/material_fonts/MaterialIcons-Regular.otf, using codepoints 58727 58332 57490 57491 57706 57496 57694
    57695 57810 57609 57657 57882 57504 57634 57415 58372 58370 58814 58813 57846 58193 57402 59102 57759 59039 57947 57400 57425 57411 57461 57649 57399 57638
    57632 57689 57423 59069 58514 58240 57785 57726 57948 57588 57583 58874 58873 59070 58513 58530 57898 58751 58554 58548 58447 58729 58121 58659 57686 58198
    59011 58172 57718 58231 58059 57500 58173 57952 57782 58675 58569 57454 58146 58834 57522 58438 58563 58361 58938 57690 58286 57501 57498 58665 57757 57424
    58195 58337 58136 58780 58648 57434 58771
    [  +94 ms] [ +149 ms] aot_android_asset_bundle: Complete
    [+585724 ms] [+585674 ms] ===== CRASH =====
    [  +10 ms] [  +34 ms] si_signo=Segmentation fault: 11(11), si_code=1, si_addr=0x17fb1b1af
    [        ] [   +9 ms] Dart snapshot generator failed with exit code -6
    [+2470 ms] [+2467 ms] ===== CRASH =====
    [        ] [        ] si_signo=Segmentation fault: 11(11), si_code=1, si_addr=0x17fb1b1af
    [        ] [        ] Dart snapshot generator failed with exit code -6
    [+15399 ms] [+15402 ms] android_aot_release_android-arm: Complete
    [ +800 ms] [ +790 ms] android_aot_bundle_release_android-arm: Starting due to {}
    [        ] [  +21 ms] android_aot_bundle_release_android-arm: Complete
    [ +299 ms] [ +274 ms] android_aot_deferred_components_bundle_release_android-arm: Starting due to {}
    [  +99 ms] [ +109 ms] android_aot_deferred_components_bundle_release_android-arm: Complete
    [ +301 ms] [ +303 ms] Persisting file store
    [        ] [  +21 ms] Done persisting file store
    [        ] [  +28 ms] Target android_aot_release_android-x64 failed: Exception: AOT snapshotter exited with code -6
    [  +99 ms]            #0      AndroidAot.build (package:flutter_tools/src/build_system/targets/android.dart:258:7)
    [        ]            <asynchronous suspension>
    [        ]            #1      _BuildInstance._invokeInternal (package:flutter_tools/src/build_system/build_system.dart:836:9)
    [        ]            <asynchronous suspension>
    [        ]            #2      Future.wait.<anonymous closure> (dart:async/future.dart)
    [        ]            <asynchronous suspension>
    [        ]            #3      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:774:32)
    [        ]            <asynchronous suspension>
    [        ]            #4      Future.wait.<anonymous closure> (dart:async/future.dart)
    [        ]            <asynchronous suspension>
    [        ]            #5      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:774:32)
    [ +293 ms]            <asynchronous suspension>
    [        ]            #6      Future.wait.<anonymous closure> (dart:async/future.dart)
    [        ]            <asynchronous suspension>
    [        ]            #7      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:774:32)
    [        ]            <asynchronous suspension>
    [        ]            #8      Future.wait.<anonymous closure> (dart:async/future.dart)
    [        ]            <asynchronous suspension>
    [        ]            #9      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:774:32)
    [        ]            <asynchronous suspension>
    [        ]            #10     FlutterBuildSystem.build (package:flutter_tools/src/build_system/build_system.dart:603:16)
    [+4409 ms]            <asynchronous suspension>
    [        ]            #11     AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:314:32)
    [        ]            <asynchronous suspension>
    [        ]            #12     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1125:27)
    [        ]            <asynchronous suspension>
    [        ]            #13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
    [        ]            <asynchronous suspension>
    [        ]            #14     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
    [        ]            <asynchronous suspension>
    [        ]            #15     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:288:9)
    [ +198 ms]            <asynchronous suspension>
    [        ]            #16     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
    [        ]            <asynchronous suspension>
    [        ]            #17     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)
    [        ]            <asynchronous suspension>
    [        ]            #18     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
    [        ]            <asynchronous suspension>
    [        ]            #19     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
    [        ]            <asynchronous suspension>
    [        ]            #20     main (package:flutter_tools/executable.dart:92:3)
    [+1346 ms]            <asynchronous suspension>
    [        ] [        ] Target android_aot_release_android-arm64 failed: Exception: AOT snapshotter exited with code -6
    [        ]            #0      AndroidAot.build (package:flutter_tools/src/build_system/targets/android.dart:258:7)
    [        ]            <asynchronous suspension>
    [        ]            #1      _BuildInstance._invokeInternal (package:flutter_tools/src/build_system/build_system.dart:836:9)
    [        ]            <asynchronous suspension>
    [        ]            #2      Future.wait.<anonymous closure> (dart:async/future.dart)
    [        ]            <asynchronous suspension>
    [        ]            #3      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:774:32)
    [ +288 ms]            <asynchronous suspension>
    [        ]            #4      Future.wait.<anonymous closure> (dart:async/future.dart)
    [        ]            <asynchronous suspension>
    [        ]            #5      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:774:32)
    [        ]            <asynchronous suspension>
    [        ]            #6      Future.wait.<anonymous closure> (dart:async/future.dart)
    [        ]            <asynchronous suspension>
    [        ]            #7      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:774:32)
    [        ]            <asynchronous suspension>
    [        ]            #8      Future.wait.<anonymous closure> (dart:async/future.dart)
    [        ]            <asynchronous suspension>
    [+1708 ms]            #9      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:774:32)
    [        ]            <asynchronous suspension>
    [        ]            #10     FlutterBuildSystem.build (package:flutter_tools/src/build_system/build_system.dart:603:16)
    [        ]            <asynchronous suspension>
    [        ]            #11     AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:314:32)
    [        ]            <asynchronous suspension>
    [        ]            #12     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1125:27)
    [        ]            <asynchronous suspension>
    [        ]            #13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
    [        ]            <asynchronous suspension>
    [ +340 ms]            #14     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
    [        ]            <asynchronous suspension>
    [        ]            #15     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:288:9)
    [        ]            <asynchronous suspension>
    [        ]            #16     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
    [        ]            <asynchronous suspension>
    [        ]            #17     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)
    [        ]            <asynchronous suspension>
    [        ]            #18     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
    [+1495 ms]            <asynchronous suspension>
    [        ]            #19     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
    [        ]            <asynchronous suspension>
    [        ]            #20     main (package:flutter_tools/executable.dart:92:3)
    [        ]            <asynchronous suspension>
    [        ] [  +15 ms] 
    [        ]            #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
    [        ]            #1      AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:331:7)
    [        ]            <asynchronous suspension>
    [        ]            #2      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1125:27)
    [        ]            <asynchronous suspension>
    [+5655 ms]            #3      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
    [   +2 ms]            <asynchronous suspension>
    [        ]            #4      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
    [        ]            <asynchronous suspension>
    [        ]            #5      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:288:9)
    [        ]            <asynchronous suspension>
    [        ]            #6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
    [        ]            <asynchronous suspension>
    [        ]            #7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)
    [ +634 ms]            <asynchronous suspension>
    [        ]            #8      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
    [        ]            <asynchronous suspension>
    [        ]            #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
    [        ]            <asynchronous suspension>
    [        ]            #10     main (package:flutter_tools/executable.dart:92:3)
    [        ]            <asynchronous suspension>
    [   +2 ms] FAILURE: Build failed with an exception.
    [        ] * Where:
    [        ] Script '/Users/plg/development/flutter-dev/packages/flutter_tools/gradle/flutter.gradle' line: 1005
    [        ] * What went wrong:
    [        ] Execution failed for task ':app:compileFlutterBuildRelease'.
    [  +80 ms] > Process 'command '/Users/plg/development/flutter-dev/bin/flutter'' finished with non-zero exit value 1
    [        ] * Try:
    [        ] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
    [        ] * Get more help at https://help.gradle.org
    [        ] BUILD FAILED in 11m 35s
    [   +2 ms] [  +27 ms] "flutter assemble" took 690,857ms.
    [        ] [ +139 ms] ensureAnalyticsSent: 136ms
    [        ] [   +3 ms] Running shutdown hooks
    [        ] [        ] Shutdown hooks complete
    [        ] [        ] exiting with code 1
    [        ] > Task :app:compileFlutterBuildRelease FAILED
    [        ] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
    [        ] Use '--warning-mode all' to show the individual deprecation warnings.
    [ +149 ms] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
    [   +1 ms] 1 actionable task: 1 executed
    [  +96 ms] Running Gradle task 'bundleRelease'... (completed in 712.7s)
    [ +374 ms] "flutter appbundle" took 730,893ms.
    [ +117 ms] Gradle task bundleRelease failed with exit code 1
    [   +9 ms] 
               #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
               #1      AndroidGradleBuilder.buildGradleApp (package:flutter_tools/src/android/gradle.dart:383:9)
               <asynchronous suspension>
               #2      AndroidGradleBuilder.buildAab (package:flutter_tools/src/android/gradle.dart:196:5)
               <asynchronous suspension>
               #3      BuildAppBundleCommand.runCommand (package:flutter_tools/src/commands/build_appbundle.dart:148:5)
               <asynchronous suspension>
               #4      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1125:27)
               <asynchronous suspension>
               #5      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
               <asynchronous suspension>
               #6      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
               <asynchronous suspension>
               #7      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:288:9)
               <asynchronous suspension>
               #8      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
               <asynchronous suspension>
               #9      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)
               <asynchronous suspension>
               #10     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
               <asynchronous suspension>
               #11     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
               <asynchronous suspension>
               #12     main (package:flutter_tools/executable.dart:92:3)
               <asynchronous suspension>
               
               
    [ +377 ms] ensureAnalyticsSent: 260ms
    [  +10 ms] Running shutdown hooks
    [        ] Shutdown hooks complete
    [   +4 ms] exiting with code 1
    
    bug 
    opened by guidezpl 2
  • Shrine breaks on desktop window resizing

    Shrine breaks on desktop window resizing

    Resizing desktop windows for the Shrine demo breaks the app. I have found this happens in two ways so far, when starting from a small screen and then making the screen larger, and vice versa.

    The app might benefit from the new ScrollMetricsNotification, it allows you to listen to changes in window size etc.

    See video:

    https://user-images.githubusercontent.com/16964204/132594396-fe4b79ed-e3f3-46e2-bfca-512bdac72c7a.mov

    bug 
    opened by Piinks 0
  • Manjaro Linux Fonts Is Square

    Manjaro Linux Fonts Is Square

    OS:Manjaro Linux Releases :Flutter Gallery v2.9.2 2021-09-07_17-39

    bug 
    opened by ilovesusu 5
  • Put a scrollbar on your website

    Put a scrollbar on your website

    https://gallery.flutter.dev/#/

    There is no scroll bar and pushing page down key doesn't do anything. Your page is broken

    bug 
    opened by RichardJECooke 0
  • Change your 'send feedback' link to stop pointing to Flutter

    Change your 'send feedback' link to stop pointing to Flutter

    Your send feedback link on https://gallery.flutter.dev/#/ points to the Flutter github issues, incorrectly. I logged an issue here and was told it was the wrong forum. Change the link please

    bug 
    opened by RichardJECooke 0
  • Quit on launch

    Quit on launch

    I'm using Ubuntu 21.04 on an AMD laptop (Ryzen 5 4500U), I installed the app from the snap store. When I open the app it immediately closes. If I launch it from the command line, it gives me the following error:

    flutter_gallery:21263): dbind-WARNING **: 16:53:46.159: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-oU74WYeZSi: No such file or directory
    Gtk-Message: 16:53:46.196: Failed to load module "colorreload-gtk-module"
    Gtk-Message: 16:53:46.196: Failed to load module "window-decorations-gtk-module"
    /usr/share/libdrm/amdgpu.ids: No such file or directory
    si_init_perfcounters: max_sh_per_se = 2 not supported (inaccurate performance counters)
    
    (flutter_gallery:21263): Gdk-ERROR **: 16:53:46.822: The program 'flutter_gallery' received an X Window System error.
    This probably reflects a bug in the program.
    The error was 'BadAlloc'.
      (Details: serial 382 error_code 11 request_code 149 (unknown) minor_code 2)
      (Note to programmers: normally, X errors are reported asynchronously;
       that is, you will receive the error a while after causing it.
       To debug your program, run it with the GDK_SYNCHRONIZE environment
       variable to change this behavior. You can then get a meaningful
       backtrace from your debugger if you break on the gdk_x_error() function.)
    Rilevato trace/breakpoint (core dump creato)
    

    I tried to compile the app source code and it works. It seems to be related to the publishing package. I have the same problem with my flutter app. And some of my users report this behaviour to me (always ubuntu 21.04, always an AMD CPU). I think this is related to flutter and not to a specific app.

    bug 
    opened by ferraridamiano 0
  • Pull to Refresh does not work in Demo

    Pull to Refresh does not work in Demo

    The Demo Provided here does not work on pulling the screen down - https://gallery.flutter.dev/#/demo/cupertino-pull-to-refresh

    bug 
    opened by akmadan 0
Releases(v2.9.2)
An app showcasing Flutter components, with side-by-side source code view.

Flutter Catalog An app showcasing Flutter components, with side-by-side source code view. ?? ?? New: Flutter Catalog is now available in the browser!

xwei 1.6k Nov 28, 2021
Generative d.Art with Flutter

Generative d.Art Demonstrate how to generate your very own #d_Art using Flutter. As a technical point we are NOT relying on Widget but RenderBox direc

Robert Felker 398 Nov 26, 2021
An app to pick, upload and display images from camera and gallery with size and extension constraints.

image_uploader A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started i

Ehmad Saeed⚡ 3 May 24, 2021
Easily make Flutter apps responsive. Automatically adapt UI to different screen sizes. Responsiveness made simple. Demo: https://gallery.codelessly.com/flutterwebsites/minimal/

Responsive Framework Responsiveness made simple Responsive Framework adapts your UI to different screen sizes automatically. Create your UI once and h

Codelessly 688 Nov 26, 2021
A scrollable, dismissable by swiping, zoomable, rotatable image gallery on which you can add a dynamic overlay.

Swipe Image Gallery A scrollable, dismissable by swiping, zoomable, rotatable image gallery on which you can add a dynamic overlay. While it is intend

null 8 Nov 17, 2021
This Dart package offers developers a streamlined library of Flutter widgets, useful for expanding widgets and text views, when users interact with them.

This Dart package offers developers a streamlined library of Flutter widgets, useful for expanding widgets and text views, when users interact with them.

Jesús Rodríguez 42 Aug 12, 2021
Flutter integration for Supabase. This package makes it simple for developers to build secure and scalable products.

supabase_flutter Flutter package for Supabase. What is Supabase Supabase is an open source Firebase alternative. We are a service to: listen to databa

Supabase 87 Dec 1, 2021
A new Flutter package which helps developers in creating walkthrough of their app.

flutter_walkthrough A new Flutter package for both android and iOS which helps developers in creating animated walkthrough of their app. Show some ❤️

Pawan Kumar 122 Oct 20, 2021
Flutter Multi-platform allows developers to unleash their app to run on the wide variety of different platforms with little or no change.

Flutter Multi-platform sample Flutter Multi-platform allows developers to unleash their app to run on the wide variety of different platforms with lit

MindInventory 19 Sep 23, 2021
ThingsBoard PE API client library for Dart developers.

ThingsBoard PE API client library for Dart developers. It's compatible with TB PE 3.3.0. Usage A simple usage example: import 'package:thingsboard_pe_

ThingsBoard - Open-source IoT Platform 39 Nov 16, 2021
A vector tile renderer for use in creating map tile images or writing to a canvas. Written in Dart to enable use of vector tiles with Flutter.

vector_tile_renderer A vector tile renderer for use in creating map tile images or writing to a canvas. Written in Dart to enable use of vector tiles

David Green 13 Oct 7, 2021
Build basic Flutter layouts and widgets with the help of Row, Column, Stack, Expanded, Container, ListView, and GridView in Flutter.

Build basic Flutter layouts and widgets with the help of Row, Column, Stack, Expanded, Container, ListView, and GridView in Flutter.

Johannes Milke 23 Sep 29, 2021
Based on Microsoft Fluent Design System and made using the help of Flutter VelocityX.

Vx Fluent UI for Flutter Based on Microsoft Fluent Design System and made using the help of Flutter VelocityX. VxFluentUI is a Flutter component libra

Pawan Kumar 13 Nov 18, 2021
Multi-platform project built with Flutter and Golang that will help you save what is most important - time.

Articles Time Saver. Save what's most valuable - Time Contribute · Discord · Documentation What is ArTiver? It is an idea that came to my mind, when I

Wiktor Zając 18 Nov 22, 2021
🚀 DevQuiz is a project to help people study and test knowledge about the technology studied.

DevQuiz ?? DevQuiz is a project to help people study and test knowledge about the technology studied. Next Level Week # 05 #NLW @Rocketseat In contruc

Wellington Freitas 6 Sep 27, 2021
Noor is a mobile app designed to help in providing a comfortable reading experience for Muslims, by referencing the book "Hisnul Muslim", and some other references.

Noor App | تطبيق نُور Overview Noor is an islamic mobile app, consists of four main pages: home, favorite, alsabha, and settings. The data is structur

Mais Alheraki 51 Nov 12, 2021
A flutter package to help you beautify your app popups.

flutter_beautiful_popup 中文 A flutter package to help you beautify your app popup, can be used in all platform.Live Demo. Preview: Getting Started Add

朱嘉伟 448 Nov 23, 2021
A package to help build customisable timelines in Flutter.

TimelineTile A package to help build customisable timelines in Flutter. Example You can access the example project for a Timeline Showcase. The Beauti

null 438 Nov 16, 2021
Calendar widget for flutter that is swipeable horizontally. This widget can help you build your own calendar widget highly customizable.

flutter_calendar_carousel Calendar widget for flutter that is swipeable horizontally. This widget can help you build your own calendar widget highly c

dooboolab 682 Nov 29, 2021
A two screen video call app built with flutter with the help of jitsi plugin

flutter_video_call A new Flutter application. Getting Started This project is a starting point for a Flutter application.

Success Charles 26 Nov 22, 2021
Readky is a Free Flutter News App Starter Template that can help you develop a News application much faster.

Readky. Introduction Readky is a Free Flutter News App Starter Template that can help you develop a News application much faster. You just need to add

Muhammad Rezky Sulihin 36 Oct 26, 2021
Provides login screen with login/signup functionalities to help speed up development

Flutter Login FlutterLogin is a ready-made login/signup widget with many animation effects to demonstrate the capabilities of Flutter Installation Fol

Near Huscarl 967 Nov 25, 2021
this app will help you to check BMI.

bmicalfinal A new Flutter application. Getting Started This project is a starting point for a Flutter application. A few resources to get you started

null 3 Jul 28, 2021
This Android/IOS application intends to help users to get an early notification for slot availability for Covid19 vaccination.

Cowin Slot Reminder Objective: This Android/IOS application intends to help users to get an early notification for slot availability for Covid19 vacci

null 4 Jun 6, 2021
Telegram Info Sticker Importer can help you to move your favorite sticker packs from VK to Telegram

Telegram Info Sticker Importer Move stickers from VK to Telegram Building Setting up SDK Get Flutter SDK from the official website Run flutter doctor

Telegram Info 20 Oct 30, 2021
A CLI tool to help generate dart classes from json returned from API

Json 2 Dart Command line utility Important note There is already a package called json2dart so this package will be called json2dartc ! This project w

Adib Mohsin 35 Oct 25, 2021
A highly customisable Flutter widget for entering pin code. Suitable for use cases such as login and OTP.

pin_code_text_field It's a beautiful and highly customizable Flutter widget for entering pin code. Suitable for use cases such as login and OTP. Usage

Liew Jun Tung 249 Nov 21, 2021
📸 Easy to use yet very customizable zoomable image widget for Flutter, Photo View provides a gesture sensitive zoomable widget. Photo View is largely used to show interacive images and other stuff such as SVG.

Flutter Photo View A simple zoomable image/content widget for Flutter. PhotoView enables images to become able to zoom and pan with user gestures such

Fire Slime Games 1.5k Nov 21, 2021