mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
Update more links and mentions to the main branch (#1294)
This commit is contained in:
2
.github/PULL_REQUEST_TEMPLATE.md
vendored
2
.github/PULL_REQUEST_TEMPLATE.md
vendored
@@ -17,4 +17,4 @@ If you need help, consider asking for advice on the #hackers-devrel channel on [
|
|||||||
[Flutter Style Guide]: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
|
[Flutter Style Guide]: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
|
||||||
[CLA]: https://cla.developers.google.com/
|
[CLA]: https://cla.developers.google.com/
|
||||||
[Discord]: https://github.com/flutter/flutter/wiki/Chat
|
[Discord]: https://github.com/flutter/flutter/wiki/Chat
|
||||||
[Contributors Guide]: https://github.com/flutter/samples/blob/master/CONTRIBUTING.md
|
[Contributors Guide]: https://github.com/flutter/samples/main/master/CONTRIBUTING.md
|
||||||
2
.github/workflows/beta.yml
vendored
2
.github/workflows/beta.yml
vendored
@@ -16,7 +16,7 @@ defaults:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# Run the stable test script on the beta channel. Since this branch will soon
|
# Run the stable test script on the beta channel. Since this branch will soon
|
||||||
# be merged into master as our stable-targeting code, this is the key thing we
|
# be merged into main as our stable-targeting code, this is the key thing we
|
||||||
# need to test.
|
# need to test.
|
||||||
stable-tests-on-beta:
|
stable-tests-on-beta:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|||||||
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@@ -1,4 +1,4 @@
|
|||||||
name: Master Branch CI
|
name: Main Branch CI
|
||||||
|
|
||||||
# Declare default permissions as read only.
|
# Declare default permissions as read only.
|
||||||
permissions: read-all
|
permissions: read-all
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ Each app should:
|
|||||||
[stable](https://github.com/flutter/flutter/wiki/Flutter-build-release-channels)
|
[stable](https://github.com/flutter/flutter/wiki/Flutter-build-release-channels)
|
||||||
release of the Flutter SDK.
|
release of the Flutter SDK.
|
||||||
* Include the same
|
* Include the same
|
||||||
[`analysis_options.yaml`](https://github.com/flutter/samples/blob/master/animations/analysis_options.yaml)
|
[`analysis_options.yaml`](https://github.com/flutter/samples/blob/main/animations/analysis_options.yaml)
|
||||||
file used throughout the repo. These files include a base set of analyzer
|
file used throughout the repo. These files include a base set of analyzer
|
||||||
conventions and lints.
|
conventions and lints.
|
||||||
* Have no analyzer errors or warnings.
|
* Have no analyzer errors or warnings.
|
||||||
@@ -89,7 +89,7 @@ also applies to code in this repo.
|
|||||||
Projects in the repo's top-level `experimental` directory are allowed to skirt
|
Projects in the repo's top-level `experimental` directory are allowed to skirt
|
||||||
some of the above rules. These apps are either experimental in nature or use
|
some of the above rules. These apps are either experimental in nature or use
|
||||||
APIs that haven't landed in the SDK's `stable` channel. They build against
|
APIs that haven't landed in the SDK's `stable` channel. They build against
|
||||||
`master`, and aren't (by default) wired into our CI system.
|
`main`, and aren't (by default) wired into our CI system.
|
||||||
|
|
||||||
## Code reviews
|
## Code reviews
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Flutter samples
|
# Flutter samples
|
||||||
|
|
||||||
[](https://github.com/flutter/samples/actions?workflow=Master%20Branch%20CI)
|
[](https://github.com/flutter/samples/actions?workflow=Main%20Branch%20CI)
|
||||||
|
|
||||||
A collection of open source samples that illustrate best practices for
|
A collection of open source samples that illustrate best practices for
|
||||||
[Flutter](https://flutter.dev).
|
[Flutter](https://flutter.dev).
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Veggie Seasons
|
# Veggie Seasons
|
||||||
|
|
||||||
The [Veggie Seasons](https://github.com/flutter/samples/tree/master/veggieseasons) app has been moved out of the experimental
|
The [Veggie Seasons](https://github.com/flutter/samples/tree/main/veggieseasons) app has been moved out of the experimental
|
||||||
directory of this repository as it now works on stable channel of Flutter.
|
directory of this repository as it now works on stable channel of Flutter.
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ samples:
|
|||||||
alt: Add_to_app screenshot
|
alt: Add_to_app screenshot
|
||||||
- url: images/add_to_app2.png
|
- url: images/add_to_app2.png
|
||||||
alt: Add_to_app screenshot
|
alt: Add_to_app screenshot
|
||||||
source: https://github.com/flutter/samples/tree/master/add_to_app
|
source: https://github.com/flutter/samples/tree/main/add_to_app
|
||||||
description: >
|
description: >
|
||||||
Android and iOS projects that each import a standalone Flutter module.
|
Android and iOS projects that each import a standalone Flutter module.
|
||||||
difficulty: advanced
|
difficulty: advanced
|
||||||
@@ -118,7 +118,7 @@ samples:
|
|||||||
alt: Animations sample screenshot
|
alt: Animations sample screenshot
|
||||||
- url: images/animations3.png
|
- url: images/animations3.png
|
||||||
alt: Animations sample screenshot
|
alt: Animations sample screenshot
|
||||||
source: https://github.com/flutter/samples/tree/master/animations
|
source: https://github.com/flutter/samples/tree/main/animations
|
||||||
description: >
|
description: >
|
||||||
Sample apps that showcasing Flutter's animation features.
|
Sample apps that showcasing Flutter's animation features.
|
||||||
difficulty: advanced
|
difficulty: advanced
|
||||||
@@ -146,7 +146,7 @@ samples:
|
|||||||
alt: Flutter maps firestore screenshot
|
alt: Flutter maps firestore screenshot
|
||||||
- url: images/flutter_maps_firestore2.png
|
- url: images/flutter_maps_firestore2.png
|
||||||
alt: Flutter maps firestore screenshot
|
alt: Flutter maps firestore screenshot
|
||||||
source: https://github.com/flutter/samples/tree/master/flutter_maps_firestore
|
source: https://github.com/flutter/samples/tree/main/flutter_maps_firestore
|
||||||
description: >
|
description: >
|
||||||
A Flutter sample app that shows the end product of the Cloud Next '19 talk
|
A Flutter sample app that shows the end product of the Cloud Next '19 talk
|
||||||
Build Mobile Apps With Flutter and Google Maps.
|
Build Mobile Apps With Flutter and Google Maps.
|
||||||
@@ -172,7 +172,7 @@ samples:
|
|||||||
alt: Isolate example screenshot
|
alt: Isolate example screenshot
|
||||||
- url: images/isolate3.png
|
- url: images/isolate3.png
|
||||||
alt: Isolate example screenshot
|
alt: Isolate example screenshot
|
||||||
source: https://github.com/flutter/samples/tree/master/isolate_example
|
source: https://github.com/flutter/samples/tree/main/isolate_example
|
||||||
description: >
|
description: >
|
||||||
A sample application that demonstrate best practices when using
|
A sample application that demonstrate best practices when using
|
||||||
isolates.
|
isolates.
|
||||||
@@ -197,7 +197,7 @@ samples:
|
|||||||
alt: JSON example screenshot
|
alt: JSON example screenshot
|
||||||
- url: images/jsonexample3.png
|
- url: images/jsonexample3.png
|
||||||
alt: JSON example screenshot
|
alt: JSON example screenshot
|
||||||
source: https://github.com/flutter/samples/tree/master/jsonexample
|
source: https://github.com/flutter/samples/tree/main/jsonexample
|
||||||
description: >
|
description: >
|
||||||
A Flutter sample app that deserializes a set of JSON strings using three
|
A Flutter sample app that deserializes a set of JSON strings using three
|
||||||
different libraries: dart:convert, json_serializable, and built_value.
|
different libraries: dart:convert, json_serializable, and built_value.
|
||||||
@@ -228,7 +228,7 @@ samples:
|
|||||||
alt: Place Tracker screenshot
|
alt: Place Tracker screenshot
|
||||||
- url: images/place_tracker4.png
|
- url: images/place_tracker4.png
|
||||||
alt: Place Tracker screenshot
|
alt: Place Tracker screenshot
|
||||||
source: https://github.com/flutter/samples/tree/master/place_tracker
|
source: https://github.com/flutter/samples/tree/main/place_tracker
|
||||||
description: >
|
description: >
|
||||||
A sample place tracking app that uses the google_maps_flutter plugin. Keep
|
A sample place tracking app that uses the google_maps_flutter plugin. Keep
|
||||||
track of your favorite places, places you've visited, and places you want
|
track of your favorite places, places you've visited, and places you want
|
||||||
@@ -261,7 +261,7 @@ samples:
|
|||||||
alt: Platform Design screenshot
|
alt: Platform Design screenshot
|
||||||
- url: images/platform_design7.png
|
- url: images/platform_design7.png
|
||||||
alt: Platform Design screenshot
|
alt: Platform Design screenshot
|
||||||
source: https://github.com/flutter/samples/tree/master/platform_design
|
source: https://github.com/flutter/samples/tree/main/platform_design
|
||||||
description: >
|
description: >
|
||||||
A Flutter app that maximizes application code reuse while adhering to
|
A Flutter app that maximizes application code reuse while adhering to
|
||||||
different design patterns on Android and iOS
|
different design patterns on Android and iOS
|
||||||
@@ -283,7 +283,7 @@ samples:
|
|||||||
alt: Platform View Swift screenshot
|
alt: Platform View Swift screenshot
|
||||||
- url: images/platform_view_swift2.png
|
- url: images/platform_view_swift2.png
|
||||||
alt: Platform View Swift screenshot
|
alt: Platform View Swift screenshot
|
||||||
source: https://github.com/flutter/samples/tree/master/platform_view_swift
|
source: https://github.com/flutter/samples/tree/main/platform_view_swift
|
||||||
description: >
|
description: >
|
||||||
A Flutter sample app that combines a native iOS UIViewController with a
|
A Flutter sample app that combines a native iOS UIViewController with a
|
||||||
full-screen Flutter view.
|
full-screen Flutter view.
|
||||||
@@ -303,7 +303,7 @@ samples:
|
|||||||
screenshots:
|
screenshots:
|
||||||
- url: images/infinite_list.png
|
- url: images/infinite_list.png
|
||||||
alt: Infinite List screenshot
|
alt: Infinite List screenshot
|
||||||
source: https://github.com/flutter/samples/tree/master/infinite_list
|
source: https://github.com/flutter/samples/tree/main/infinite_list
|
||||||
description: >
|
description: >
|
||||||
A Flutter sample app that shows an implementation of the "infinite list" UX pattern.
|
A Flutter sample app that shows an implementation of the "infinite list" UX pattern.
|
||||||
That is, a list is shown to the user as if it was continuous although it is internally
|
That is, a list is shown to the user as if it was continuous although it is internally
|
||||||
@@ -328,7 +328,7 @@ samples:
|
|||||||
screenshots:
|
screenshots:
|
||||||
- url: images/ios_app_clip.png
|
- url: images/ios_app_clip.png
|
||||||
alt: IOS App Clip screenshot
|
alt: IOS App Clip screenshot
|
||||||
source: https://github.com/flutter/samples/tree/master/ios_app_clip
|
source: https://github.com/flutter/samples/tree/main/ios_app_clip
|
||||||
description: >
|
description: >
|
||||||
A Flutter sample app that shows the demonstrating integration with iOS 14's App Clip,
|
A Flutter sample app that shows the demonstrating integration with iOS 14's App Clip,
|
||||||
the App Clip target is rendered by Flutter and uses a plugin.
|
the App Clip target is rendered by Flutter and uses a plugin.
|
||||||
@@ -351,7 +351,7 @@ samples:
|
|||||||
alt: Testing App screenshot
|
alt: Testing App screenshot
|
||||||
- url: images/testing_app2.png
|
- url: images/testing_app2.png
|
||||||
alt: Testing App screenshot
|
alt: Testing App screenshot
|
||||||
source: https://github.com/flutter/samples/tree/master/testing_app
|
source: https://github.com/flutter/samples/tree/main/testing_app
|
||||||
description: >
|
description: >
|
||||||
A Flutter sample app that shows different types of testing in Flutter.
|
A Flutter sample app that shows different types of testing in Flutter.
|
||||||
difficulty: intermediate
|
difficulty: intermediate
|
||||||
@@ -376,7 +376,7 @@ samples:
|
|||||||
alt: Provider Shopper screenshot
|
alt: Provider Shopper screenshot
|
||||||
- url: images/provider_shopper3.png
|
- url: images/provider_shopper3.png
|
||||||
alt: Provider Shopper screenshot
|
alt: Provider Shopper screenshot
|
||||||
source: https://github.com/flutter/samples/tree/master/provider_shopper
|
source: https://github.com/flutter/samples/tree/main/provider_shopper
|
||||||
description: >
|
description: >
|
||||||
A Flutter sample app that shows a state management approach using the Provider package.
|
A Flutter sample app that shows a state management approach using the Provider package.
|
||||||
difficulty: intermediate
|
difficulty: intermediate
|
||||||
@@ -401,7 +401,7 @@ samples:
|
|||||||
alt: Web Dashbaord screenshot
|
alt: Web Dashbaord screenshot
|
||||||
- url: images/web_dashboard3.png
|
- url: images/web_dashboard3.png
|
||||||
alt: Web Dashboard screenshot
|
alt: Web Dashboard screenshot
|
||||||
source: https://github.com/flutter/samples/tree/master/experimental/web_dashboard
|
source: https://github.com/flutter/samples/tree/main/experimental/web_dashboard
|
||||||
description: >
|
description: >
|
||||||
A dashboard app that displays daily entries. Demonstrates AdaptiveScaffold and NavigationRail. Showcases how to
|
A dashboard app that displays daily entries. Demonstrates AdaptiveScaffold and NavigationRail. Showcases how to
|
||||||
use Firebase, but uses a mock backend by default.
|
use Firebase, but uses a mock backend by default.
|
||||||
@@ -428,7 +428,7 @@ samples:
|
|||||||
alt: Form App screenshot
|
alt: Form App screenshot
|
||||||
- url: images/form_app3.png
|
- url: images/form_app3.png
|
||||||
alt: Form App screenshot
|
alt: Form App screenshot
|
||||||
source: https://github.com/flutter/samples/tree/master/form_app
|
source: https://github.com/flutter/samples/tree/main/form_app
|
||||||
description: >
|
description: >
|
||||||
A Flutter sample app that shows how to use Forms.
|
A Flutter sample app that shows how to use Forms.
|
||||||
difficulty: intermediate
|
difficulty: intermediate
|
||||||
@@ -452,7 +452,7 @@ samples:
|
|||||||
alt: Navigation and Routing screenshot
|
alt: Navigation and Routing screenshot
|
||||||
- url: images/navigation_and_routing4.png
|
- url: images/navigation_and_routing4.png
|
||||||
alt: Navigation and Routing screenshot
|
alt: Navigation and Routing screenshot
|
||||||
source: https://github.com/flutter/samples/tree/master/navigation_and_routing
|
source: https://github.com/flutter/samples/tree/main/navigation_and_routing
|
||||||
description: >
|
description: >
|
||||||
A Flutter sample app that shows how to use how to use the Router API to
|
A Flutter sample app that shows how to use how to use the Router API to
|
||||||
handle common navigation scenarios.
|
handle common navigation scenarios.
|
||||||
@@ -473,7 +473,7 @@ samples:
|
|||||||
alt: Desktop Photo Search with FluentUI widgets
|
alt: Desktop Photo Search with FluentUI widgets
|
||||||
- url: images/desktop_photo_search-material.png
|
- url: images/desktop_photo_search-material.png
|
||||||
alt: Desktop Photo Search with Material widgets
|
alt: Desktop Photo Search with Material widgets
|
||||||
source: https://github.com/flutter/samples/tree/master/desktop_photo_search
|
source: https://github.com/flutter/samples/tree/main/desktop_photo_search
|
||||||
description: >
|
description: >
|
||||||
This is the Photo Search app, built out with two different widget sets,
|
This is the Photo Search app, built out with two different widget sets,
|
||||||
`material` shows the Photo Search app built with Material widgets, and
|
`material` shows the Photo Search app built with Material widgets, and
|
||||||
@@ -503,7 +503,7 @@ samples:
|
|||||||
alt: Advanced text editing with activity
|
alt: Advanced text editing with activity
|
||||||
- url: images/simple_editor_initial.png
|
- url: images/simple_editor_initial.png
|
||||||
alt: Advanced text editing in initial state
|
alt: Advanced text editing in initial state
|
||||||
source: https://github.com/flutter/samples/tree/master/simplistic_editor
|
source: https://github.com/flutter/samples/tree/main/simplistic_editor
|
||||||
description: >
|
description: >
|
||||||
This is a fancy text editor sample which shows how to consume fine-grain
|
This is a fancy text editor sample which shows how to consume fine-grain
|
||||||
text editing and selection details from the framework's TextEditingDeltas
|
text editing and selection details from the framework's TextEditingDeltas
|
||||||
@@ -531,7 +531,7 @@ samples:
|
|||||||
alt: Elevation tab of the Material 3 demo
|
alt: Elevation tab of the Material 3 demo
|
||||||
- url: images/material_3_green.png
|
- url: images/material_3_green.png
|
||||||
alt: Elevation tab of the Material 3 demo with seed color of green
|
alt: Elevation tab of the Material 3 demo with seed color of green
|
||||||
source: https://github.com/flutter/samples/tree/master/material_3_demo
|
source: https://github.com/flutter/samples/tree/main/material_3_demo
|
||||||
description: >
|
description: >
|
||||||
Showcases Material 3 features in the Flutter Material library.
|
Showcases Material 3 features in the Flutter Material library.
|
||||||
These features include updated components, typography, color system and elevation support.
|
These features include updated components, typography, color system and elevation support.
|
||||||
@@ -558,7 +558,7 @@ samples:
|
|||||||
alt: Loading screen
|
alt: Loading screen
|
||||||
- url: images/level_selector.png
|
- url: images/level_selector.png
|
||||||
alt: Level selection screen
|
alt: Level selection screen
|
||||||
source: https://github.com/flutter/samples/tree/master/game_template
|
source: https://github.com/flutter/samples/tree/main/game_template
|
||||||
description: >
|
description: >
|
||||||
This is a game template that shows how to build much of the dressing
|
This is a game template that shows how to build much of the dressing
|
||||||
around an actual game. The game itself is very simple - the value in this
|
around an actual game. The game itself is very simple - the value in this
|
||||||
@@ -605,7 +605,7 @@ samples:
|
|||||||
screenshots:
|
screenshots:
|
||||||
- url: images/github_dataviz1.png
|
- url: images/github_dataviz1.png
|
||||||
alt: GitHub Dataviz screenshot
|
alt: GitHub Dataviz screenshot
|
||||||
source: https://github.com/flutter/samples/tree/master/web/github_dataviz
|
source: https://github.com/flutter/samples/tree/main/web/github_dataviz
|
||||||
description: >
|
description: >
|
||||||
A visualization for Flutter repository data
|
A visualization for Flutter repository data
|
||||||
difficulty: intermediate
|
difficulty: intermediate
|
||||||
@@ -622,7 +622,7 @@ samples:
|
|||||||
screenshots:
|
screenshots:
|
||||||
- url: images/particle_background1.png
|
- url: images/particle_background1.png
|
||||||
alt: Particle Background screenshot
|
alt: Particle Background screenshot
|
||||||
source: https://github.com/flutter/samples/tree/master/web/particle_background
|
source: https://github.com/flutter/samples/tree/main/web/particle_background
|
||||||
description: >
|
description: >
|
||||||
Flutter app demonstrating package:simple_animations in action.
|
Flutter app demonstrating package:simple_animations in action.
|
||||||
difficulty: intermediate
|
difficulty: intermediate
|
||||||
|
|||||||
Reference in New Issue
Block a user