John Ryan
49eebf8c20
Update navigation_and_routing sample to go_router ( #2067 )
...
This is a new PR to update the navigation_and_routing sample to the
latest version of go_router. It is a based on
https://github.com/flutter/samples/pull/1437
---------
Co-authored-by: Brett Morgan <brettmorgan@google.com>
1 year ago
Brett Morgan
d55132b2d4
Update runners ( #2011 )
...
If you need help, consider asking for advice on the #hackers-devrel channel on [Discord].
1 year ago
Brett Morgan
7d169b4d98
Update for 3.13 stable ( #1992 )
1 year ago
Brett Morgan
f1fd4341ff
Flutter beta ( #1952 )
1 year ago
Miguel Beltran
9140019fa0
Enable material 3 on `navigation_and_routing` ( #1955 )
...
Enabled Material 3.
Replaced the `ElevatedButton` to `FilledButton` for better visibility.
Added elevation to the top app bar to add contrast to the top navigation
tabs.
#### Before Material 3
<img width="592" alt="Screenshot 2023-07-21 at 15 32 49"
src="https://github.com/flutter/samples/assets/2494376/88c9ac77-3f74-4ebb-ad2e-c55cc761ec11 ">
#### With Material 3
<img width="592" alt="Screenshot 2023-07-21 at 15 47 55"
src="https://github.com/flutter/samples/assets/2494376/37854329-0313-46fa-a945-401ffbae5fe6 ">
## Pre-launch Checklist
- [ ] I read the [Flutter Style Guide] _recently_, and have followed its
advice.
- [ ] I signed the [CLA].
- [ ] 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].
<!-- 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 year ago
Miguel Beltran
93db48966c
Explicit import for Platform and kIsWeb ( #1898 )
...
Following the ideas in flutter/website#7798 I have changed the imports
needed for Platform and kIsWeb to be explicitly named.
## Pre-launch Checklist
- [ ] I read the [Flutter Style Guide] _recently_, and have followed its
advice.
- [ ] I signed the [CLA].
- [ ] 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].
<!-- 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
2 years ago
Brett Morgan
82e38e5b79
Update samples for Dart 3.0.0 ( #1803 )
2 years ago
Brett Morgan
36e7a6ab04
Update for Flutter 3.10 beta ( #1746 )
...
## 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>
2 years ago
Brett Morgan
3bafa557f7
Update `sdk` constraint range and update runners ( #1706 )
2 years ago
Brett Morgan
0a862ea4c1
Update runners ( #1658 )
...
* Update runners
* Elide `experimental/pedometer` from CI
* Mark `primary` scroll view
* Re-enable "experimental/pedometer"
2 years ago
Brett Morgan
3e9bb78aec
Create `analysis_defaults` package ( #1654 )
...
* Create `analysis_defaults` package
* Update analysis_defaults/pubspec.yaml
Co-authored-by: Pierre-Louis <6655696+guidezpl@users.noreply.github.com>
---------
Co-authored-by: Pierre-Louis <6655696+guidezpl@users.noreply.github.com>
2 years ago
Brett Morgan
5401bb88b4
Flutter 3.7.0 ( #1556 )
...
* Update `simplistic_editor` for Flutter 3.4 beta
* Re-enable beta and master CI
* Disable on master
* 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
* Enable beta CI
* Enable all `stable` CI projects
* `dart fix --apply`
* `print` -> `denugPrint`
* Make deps min version not pinned
* Drop `_isDebug`
* Remove unused import
* `dart format`
* Fixup `linting_tool`
* Fixup `form_app`
* Enable all `master` CI
* Basic fixes
* Patch `simplistic_editor`
* Fix nl at eol
* Comment out `simplistic_editor`
* Incorporating @bleroux's latest changes
* Clean up CI scripts
* Copy `experimental/material_3_demo` to top level
* Update `game_template`
* Update `animations`
* Update `desktop_photo_search`
* Update `flutter_maps_firestore`
* Update `form_app`
* Update `infinite_list`
* Update `isolate_example`
* Update `jsonexample`
* Update `navigation_and_routing`
* Update `place_tracker`
* Update `platform_channels`
* Update `platform_design`
* Update `provider_shopper`
* Fixup `context_menus`
* `dart format`
* Update the main `material_3_demo`
* Make `tool/flutter_ci_script_stable.sh` executable again
Co-authored-by: Bruno Leroux <bruno.leroux@gmail.com>
Co-authored-by: Aaron Clarke <aaclarke@google.com>
2 years ago
Brett Morgan
9d8aa333ee
Update for Material changes & run rebuild scripts ( #1412 )
2 years ago
Brett Morgan
18501cd153
`navigation_and_routing` rebuild script ( #1368 )
2 years ago
Brett Morgan
4af443d33f
Drop lock files from repo ( #1282 )
3 years ago
Brett Morgan
3a0a652984
Add `use_super_parameters` lint ( #1269 )
3 years ago
Brett Morgan
58bc5d7a58
Deps update, utilize `super.key` ( #1265 )
...
* Deps update, utilize `super.key`
* `flutter format`
3 years ago
Brett Morgan
ccd68f34e2
Beta ( #1234 )
3 years ago
dependabot[bot]
2f9a3f8f20
Bump url_launcher from 6.1.0 to 6.1.1 in /navigation_and_routing ( #1246 )
...
Bumps [url_launcher](https://github.com/flutter/plugins ) from 6.1.0 to 6.1.1.
- [Release notes](https://github.com/flutter/plugins/releases )
- [Commits](https://github.com/flutter/plugins/compare/url_launcher-v6.1.0...url_launcher-v6.1.1 )
---
updated-dependencies:
- dependency-name: url_launcher
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
Craig Labenz
e8b2bec22a
Add Material You and Rich Text Editor samples ( #1223 )
...
* Added Material You and Rich Text Editor samples
* updated images to have Material 3
* updated packages info
3 years ago
dependabot[bot]
47fac56c8e
Bump quiver from 3.0.1+1 to 3.1.0 in /navigation_and_routing ( #1215 )
...
Bumps [quiver](https://github.com/google/quiver-dart ) from 3.0.1+1 to 3.1.0.
- [Release notes](https://github.com/google/quiver-dart/releases )
- [Changelog](https://github.com/google/quiver-dart/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/quiver-dart/compare/3.0.1...3.1.0 )
---
updated-dependencies:
- dependency-name: quiver
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
Brett Morgan
f998c9577e
Add `unawaited_futures` ( #1148 )
3 years ago
dependabot[bot]
3c904b32df
Bump url_launcher from 6.0.20 to 6.1.0 in /navigation_and_routing ( #1137 )
...
Bumps [url_launcher](https://github.com/flutter/plugins ) from 6.0.20 to 6.1.0.
- [Release notes](https://github.com/flutter/plugins/releases )
- [Commits](https://github.com/flutter/plugins/compare/url_launcher-v6.0.20...url_launcher-v6.1.0 )
---
updated-dependencies:
- dependency-name: url_launcher
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
Brett Morgan
63235a729a
Update `pubspec.lock` and friends ( #1076 )
3 years ago
Brett Morgan
3b46646306
`flutter pub upgrade --major-versions` ( #1061 )
3 years ago
Brett Morgan
a481c264cd
Remove git:// url, update deps, fix `destop_photo_search` ( #1052 )
3 years ago
Miguel Beltran
c452c1fcce
Add window desktop setup to navigation_and_routing ( #1043 )
3 years ago
Miguel Beltran
2714e8ccba
Update Android files in navigation_and_routing (bookstore) ( #1019 )
3 years ago
Brett Morgan
26d88f1799
Update `pubspec.yaml` files ( #971 )
3 years ago
Ahmed Ashour
50d5dd968b
Remove unnecessary types ( #946 )
3 years ago
Andrew Brogdon
664b63c03c
Updates for 2.8! ( #961 )
3 years ago
Brett Morgan
be34b0bf43
Centralize analysis options ( #957 )
3 years ago
Brett Morgan
84e7057abe
Update `pubspec.yaml` files ( #958 )
3 years ago
Ahmed Ashour
822a046c08
Fix typo ( #944 )
3 years ago
Ahmed Ashour
ce84cdc2e5
Remove ignore `prefer_initializing_formals` ( #945 )
3 years ago
MainTobias
43ce0239b4
Update AndroidManifest.xml ( #883 )
...
To fix it opening the app in the same window (fe in whatsapp and not going to desired screen but instead only to login screen and then home screen instead of book/0 or book/2).
3 years ago
Brett Morgan
e2b77a4bf1
flutter pub upgrade ( #931 )
3 years ago
Brett Morgan
994cdb4afa
flutter pub upgrade ( #926 )
...
* flutter pub upgrade
* `desktop_photo_search`: Remove unneeded `unawaited`
Co-authored-by: John Ryan <ryjohn@google.com>
3 years ago
Brett Morgan
297f6b0b96
Upgrade deps, format, fix web/filipino_cuisine ( #898 )
...
fixes: https://github.com/flutter/samples/issues/897
3 years ago
John Ryan
bf823550ed
Reverts the default animation behavior to be based on the platform, ( #896 )
...
not the kIsWeb flag:
https://github.com/flutter/flutter/issues/82053
3 years ago
Kevin Moore
2084742612
RouteState: make field final private ( #888 )
3 years ago
Kevin Moore
c9688ca34b
Move library to a top-level variable, since it never changes ( #887 )
3 years ago
Kevin Moore
ecf716dcab
navigation_and_routing: a bunch of cleanup ( #886 )
...
Fail early on nullable context objects - no code paths allow null
Eliminate superfluous private function
Use a function over an abstract class with one method
3 years ago
Kevin Moore
ad6dc454f2
cleanup: remove old snippets from navigation and routing ( #882 )
3 years ago
Kevin Moore
fa7dec1475
Cleanup to navigation_and_routing sample ( #881 )
...
- make more things private and final, where possible
- remove unused members
- used expression bodies, where possible
3 years ago
John Ryan
7de8fafcee
Fix sample index deployment action ( #862 )
...
* Update sample index dependencies
* Update to tuneup 0.3.8, update dependencies
* Upgrade to null safety, lock sass version
* fix analyzer warnings
* Fix unit tests
* Fix issues from upgrading to null safety
3 years ago
Kevin Moore
b0745a00d4
General cleanup: consistent quoting, sort dependencies, ( #859 )
...
single quotes everywhere
fix comment references
3 years ago
idkq
228bc80b9a
Did you mean to use .go here? ( #857 )
3 years ago
John Ryan
35f1670098
Update Navigation and Routing sample ( #851 )
...
* Add duration parameter to FadeTransitionPage
* Use didChangeDependencies instead of didUpdateWidget
* Don't notify listeners if the path hasn't changed
* Update navigation sample WIP
* Use Link and RouteStateScope in settings screen
* update README
* use named parameters for Library.addBook()
* Make _handleAuthStateChanged synchronous
* add missing copyright headers
* Address code review comments
* Address code review comments
4 years ago
John Ryan
ae3c4e3c47
Replace navigation_and_routing with a new sample ( #832 )
...
* move snippets into old_snippets directory
* add new navigation_and_routing sample
* add copyright headers
* Apply #827 to old_snippets/ directory and upgrade them to null safety
* Code review comments
- Move Guard class into parser.dart
- Move usage of guards from Delegate to RouteInformationParser
- Rename delegate to SimpleRouterDelegate
* clean up imports
* refactor settings screen, fix bug
* avoid conflicting paths /books/new and /books/1 - rename to book/1
* dispose fields in _BookstoreState class
* remove /books path
This was causing problems
* add comment
* Change BookstoreAuthScope and BookstoreAuthScope to InheritedNotifier
* fix warnings
* Make the initial route configurable, set to '/signin'
* Enable deep linking
https://flutter.dev/docs/development/ui/navigation/deep-linking
* use path URL strategy on the web.
* remove TODO, add comment
4 years ago