This adds a sample Flutter project that demonstrates a
soon-to-be-released feature, asset transformation[^1]. [PR for
flutter.dev
documentation](https://github.com/flutter/website/pull/10471).
This feature isn't the easiest to explain using documentation, so I
think augmenting that documentation with a sample is appropriate.
This sample demonstrates 1) how to use an existing Dart package (that is
compatible with the feature) as an asset transformer and 2) how to write
a Dart package that is compatible with this feature. This should be
clear from the README.md.
**Advice for reviewing this PR.** The goal here is that most users that
read the documentation and follow the link from there to this sample
should be able to figure out what the feature does and how to use it.
Try to imagine yourself in this position and follow this story. If the
feature is still unclear, then there is probably something we can do to
improve this sample or the docs. Said more simply, follow these steps:
1) Start at the new section to be added to Flutter.dev
(https://flutter-docs-prod--pr10471-document-asset-transformers-cc21qf01.web.app/ui/assets/assets-and-images#automatic-transformation-of-asset-files-at-build-time).
It should naturally link you to the sample project. Start with the
README and see if things make sense.
## 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].
<!-- Links -->
[Flutter Style Guide]:
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
[CLA]: https://cla.developers.google.com/
[Discord]: https://github.com/flutter/flutter/wiki/Chat
[Contributors Guide]:
https://github.com/flutter/samples/blob/main/CONTRIBUTING.md
[^1]: If you are super curious about this feature, see [the tracking
issue for its
implementation](https://github.com/flutter/flutter/issues/143348).
---------
Co-authored-by: Eric Windmill <eric@ericwindmill.com>
Adding the demo app from my I/O talk. Because AI.
## 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.
---------
Co-authored-by: Brett Morgan <brett.morgan@gmail.com>
Adds two new samples that use the Google Generative AI SDK for Dart.
Both were created by @rodydavis. I'm merely the uploader so to speak.
## 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.
Now that the context menu code is on stable, move the sample out of
experimental.
Fixes https://github.com/flutter/samples/issues/2110
## 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.
---------
Co-authored-by: Brett Morgan <brett.morgan@gmail.com>
## 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 `///`).
- [ ] All existing and new tests are passing.
---------
Co-authored-by: David Iglesias <ditman@gmail.com>
Co-authored-by: Mark Thompson <2554588+MarkTechson@users.noreply.github.com>
Co-authored-by: John Ryan <ryjohn@google.com>
* Added sample code for using plugins and channels from background isolates.
* goderbauer feedback 1
* goderbauer feedback2
* goderbauer feedback 3
* Add `background_isolate_channels` to CI
* Comment in `background_isolate_channels`
* Fixup
* Elide `experimental/material_3_demo` from `master`
* Elide `material_3_demo` from `master` CI
* Elide `place_tracker` on `master` CI
---------
Co-authored-by: Brett Morgan <brettmorgan@google.com>
Co-authored-by: Brett Morgan <brett.morgan@gmail.com>
* added Type Jam puzzle app for review
* pr round 2 prep
* updated ci scripts for varfont_shader_puzzle
* resolved unused and minor variable naming issues
* rotator tiles row and col are final vars now
* removed unused import and print from production
* made constructors const where needed
* pages_flow export refactored to directly come from that file
* removed old api commented out section from FragmentShaded
* updated pubspec yaml to correct project name
* dart min version updated; removed unnecessary commented out dependencies from pubspec.yaml
* updated pubspec.yaml min flutter version to ensure FragmentShader support
* added/edited comments for explanation, esp on var fonts; removed obsolete comments
* trailing newline added to pubspec.yaml eof
* Revert "Revert "Add code sharing sample (#1444)" (#1464)"
This reverts commit dc50c46ef1.
* Opting out failing tests on Windows for CI
Co-authored-by: Craig Labenz <craig.labenz@gmail.com>
* code-sharing boilerplate
* initial commit of code-sharing logic
* documentation improvements
* added code-sharing to samples.yaml
* Updated counter UI to visually indicate communication with the server
* added code_sharing to CI
* CI changes to code_sharing
* fixed test with DI
* formatting
* added shared module to CI
* adds forgotten CI change
Adds a template / sample for games built in Flutter, with all the bells and whistles, like ads, in-app purchases, audio, main menu, settings, and so on.
Co-authored-by: Parker Lougheed
Co-authored-by: Shams Zakhour
* Added M3 demo app
* Changed to use the centralized lint configuration.
* Moved the app at the root level
* Added to CI
* Added app to beta CI and commented app on stable CI file
* Update README.md
* Addressed comments
* fixed comments
* Reverted app name in CI files.
* Added project to the Pub Dependabot config
* Linting pass for current beta channel standards
Co-authored-by: Qun Cheng <quncheng@google.com>
Co-authored-by: Craig Labenz <craig.labenz@gmail.com>
* Add simplistic editor to samples
* Toggle styles fix
* update name
* Add to CI and dependabot
* update minimum dart sdk
* fix pubspec
* update README
* Update README
* Add shift + arrow key selection and copy/paste keyboard actions
* Update README.md
* copy edits to readme
includes a sentence in each layer description whose accuracy I still need to verify
* update pubspec
* update pubspec.lock
* Fix bug with disabling expansion of replacement when cursor is at edge of replacement
Co-authored-by: Renzo Olivares <roliv@google.com>
Co-authored-by: Craig Labenz <craig.labenz@gmail.com>
Adds a Flutter app designed for devices running at least Android 12 that exemplifies how to implement an animated splash screen with the SplashScreen API.
* Unbreaking dev and beta CI
* Newline all the things.
* Unhooking desktop_photo_search from beta and dev CI
* Unhooking web_dashboard and veggieseasons as well