1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00
Commit Graph

625 Commits

Author SHA1 Message Date
Abdullah Deshmukh
410e43fbc1 [linting_tool] Prepare for release (#880) 2021-08-24 09:26:55 +10:00
Abdullah Deshmukh
0aad30fc5b Add new DefaultRulesPage (#875) 2021-08-17 11:50:14 +10:00
Abdullah Deshmukh
1e00fd0bde [linting_tool] Implement editing profile (#874) 2021-08-17 09:05:30 +10:00
Abdullah Deshmukh
bd4fa28584 Implements default lints page (#871) 2021-08-17 05:34:34 +10:00
Abdullah Deshmukh
a68f3f57d6 [linting_tool] Stop duplication of rules in the same profile (#870) 2021-08-11 12:46:16 +10:00
Abdullah Deshmukh
9986fe2f2c [linting_tool] Implement exporting profiles (#869) 2021-08-10 13:35:59 +10:00
John Ryan
a46327ef80 Fix <base href="/"> tags in hosted samples, if required. (#867)
* Fix <base href="/"> tags in hosted samples, if required.

* add trailing slash
2021-08-09 08:56:39 -07:00
Michael Thomsen
ba58407a26 Update samples.yaml (#866) 2021-08-09 08:41:13 +02:00
Abdullah Deshmukh
bbb8e342f1 [linting_tool] Implement saving rules to DB (#860) 2021-08-05 08:18:22 +10:00
John Ryan
1818925286 Add navigation_and_routing sample to visual sample index (#863) 2021-08-03 10:37:21 -07:00
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
2021-08-02 15:41:18 -07:00
Andrew Brogdon
699cc3a8c5 Pinning versions to commits (#861) 2021-08-02 13:41:15 -07:00
Kevin Moore
b0745a00d4 General cleanup: consistent quoting, sort dependencies, (#859)
single quotes everywhere
fix comment references
2021-08-02 10:57:30 -07:00
Brett Morgan
89093cac71 Update README.md (#858) 2021-07-30 10:03:10 +10:00
idkq
228bc80b9a Did you mean to use .go here? (#857) 2021-07-28 16:35:33 -07:00
Naoki Ishikawa
a6ac643fe0 fix typo (manger to manager) (#854) 2021-07-21 17:56:11 -07:00
Arash
52fa15609c Update samples.yaml (#855)
Fix incorrect URL source of Platform View Swift sample
2021-07-21 17:36:08 -07:00
Abdullah Deshmukh
6bac1b9694 [linting_tool] Add lint rules list (#856) 2021-07-21 21:29:28 +10:00
Andrew Brogdon
3b65403631 Update README.md (#853)
Probably shouldn't have the README mention a widget that no longer exists.
2021-07-14 16:56:11 -07:00
Abdullah Deshmukh
8e73c73f4b [linting_tool] Add Adaptive Layout with Theming (#852) 2021-07-14 07:31:14 +10:00
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
2021-07-12 14:22:53 -07:00
Brett Morgan
d3c4645a42 flutter analyze -> dart analyze (#849) 2021-07-12 10:08:10 -07:00
John Ryan
1403e67144 Exit the sample index deployment CI script if a sub-process fails (#847) 2021-07-09 14:58:15 -07:00
Brett Morgan
054360e2a4 flutter format -> dart format (#846) 2021-07-09 14:33:22 -07:00
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
2021-07-08 07:48:17 -07:00
Abdullah Deshmukh
8573269c03 Add Linting tool starter project (#840) 2021-07-06 14:05:21 +10:00
Andrew Brogdon
89d2849019 Adding new flag for dev channel format (#841) 2021-07-03 19:43:54 +10:00
Andrew Brogdon
9e0ba9a97e Unbreaking beta and dev tests (#839) 2021-06-29 17:22:37 -07:00
Brett Morgan
5280720df7 dart migrate add_to_app/android_view/flutter_module_using_plugin (#833) 2021-06-10 14:08:38 +10:00
Brett Morgan
9153fdb6fc dart migrate add_to_app/fullscreen/flutter_module (#835) 2021-06-10 14:07:39 +10:00
Brett Morgan
e931456f20 dart migrate add_to_app/multiple_flutters/multiple_flutters_module (#836) 2021-06-10 14:02:44 +10:00
Brett Morgan
4633bb0406 Add flutter_lints to ios_app_clip (#824) 2021-06-09 16:34:18 +10:00
Brett Morgan
b34cc5671a Add flutter_lints (#808) 2021-06-09 06:48:39 +10:00
Brett Morgan
6acb879dfa Add flutter_lints to experimental/federated_plugin/federated_plugin_macos (#818) 2021-06-08 14:53:39 +10:00
Brett Morgan
82c0e717ab Update experimental/federated_plugin/federated_plugin_* (#819) 2021-06-08 14:53:16 +10:00
Brett Morgan
5cdab9c44d jsonexample: Update lint rules, rebuild runners (#826) 2021-06-07 16:57:21 -07:00
Brett Morgan
26e0e215cf Adjust flutter_maps_firestore's lint rules (#821) 2021-06-07 16:51:44 -07:00
Brett Morgan
0850579bc8 dart migrate place_tracker (#831) 2021-06-08 09:23:48 +10:00
Brett Morgan
b1a49c0afb Adjust animations lint rules (#814) 2021-06-07 16:00:06 -07:00
Brett Morgan
12ba3b2245 Add flutter_lints to form_app (#822) 2021-06-08 08:57:23 +10:00
Brett Morgan
fc1fe989fb Add flutter_lints (#813) 2021-06-07 15:56:21 -07:00
Brett Morgan
78dee899ea isolate_example: Update lints, rebuild runners (#825) 2021-06-07 15:49:46 -07:00
Ayush Bherwani
865c545f3d [platform_channels] Migrate to sound null safety (#803) 2021-06-07 15:30:12 -07:00
Brett Morgan
c8112c88ac Add flutter_lints to add_to_app/plugin/flutter_module_using_plugin (#812) 2021-06-07 15:18:20 -07:00
Brett Morgan
a405fc4a9d Update the dependencies (#815) 2021-06-08 08:15:43 +10:00
Brett Morgan
14cce8b0f7 Adding flutter_lints (#811) 2021-06-08 08:15:11 +10:00
Brett Morgan
55e02d6e4d Add flutter_lints to add_to_app/fullscreen/flutter_module (#810) 2021-06-07 15:14:46 -07:00
Brett Morgan
40abd00a45 Adjust lint rules for experimental/web_dashboard (#820) 2021-06-08 07:48:36 +10:00
Brett Morgan
9ad1fae51c Adjust desktop_photo_search's lint rules (#816) 2021-06-08 07:48:14 +10:00
Brett Morgan
7acef097f0 place_tracker: use_key_in_widget_constructors and Runners rebuild (#829) 2021-06-08 07:46:36 +10:00