samples
samples copied to clipboard
A collection of Flutter examples and demos
```dart Widget createScreenFor(int screenIndex, bool showNavBarExample) { switch (screenIndex) { // duplicated code for "default" case case 0: return ComponentScreen(showNavBottomBar: showNavBarExample); ... default: return ComponentScreen(showNavBottomBar: showNavBarExample); } } ```
Flutter plugin module is crashing when re-open ios main application that has been killed/terminated either by manually from background or killed when change the camera permission from settings. Similar way...
As per my test on the `game_template`, when running on the web, the `game_template`'s background music player only plays the first music one time, and then stop completely. When running...
After pressing the AppBar's Back button from the level screen, the following logs appear: ```sh SEVERE: 2022-05-28 10:54:16.715: GoRouter: Exception during GoRouter navigation SEVERE: 2022-05-28 10:54:16.715: GoRouter: Exception during GoRouter...
Currently the Flutter add to app section has documentation for android and iOS only. Is there a way to integrate FlutterViews into existing Web and PWA apps? Is there a...
`flutter build macos-framework` is available in master, but only works from normal `flutter create`d apps, not `-t module`. Add a sample that shows `flutter build macos-framework` and `flutter build ios-framework`...
The build currently used JDK 12 which reached end of life 2+ years ago. We should update this, preferably to an LTS release like JDK 17 if possible. It seems...
Collecting feedback from myself and designers in a single place: - [ ] When Material 2 is on, should swap out `NavigationBar` for `BottomNavigationBar` - [ ] When Material 2...

Hi there, flutter newbie here. I'm simply trying to launch the "platform_design" sample app. I'm getting an insane amount of errors. What did I do wrong? Steps to reproduce: 1....