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

646 Commits

Author SHA1 Message Date
Brett Morgan
0fe216a1cf Make the URL for the data JSON file absolute. (#902)
* Make the URL for the data JSON file absolute.

* dart format
2021-10-06 11:44:45 -07:00
imthegithubuser
5b1045187a Spelling corrected (#908) 2021-10-06 19:22:58 +11:00
Robert Stevens
3d4b6f45fe Updated the dart english_words package to 4.0.0 (#907) 2021-10-06 13:34:57 +10:00
John Ryan
cdab12421c Add form_app and navigation_and_routing samples to CI scripts (#905) 2021-10-05 09:29:36 -07:00
John Ryan
9a9f0210b7 Update mockito in form_app (#904) 2021-10-05 21:49:11 +10:00
Michael Thomsen
3de664f9e7 Link to dart.dev docs for lints (#901) 2021-09-24 09:35:50 -07:00
Brett Morgan
3914822ecb Update slide_puzzle (#900) 2021-09-22 15:42:44 -07:00
Brett Morgan
583457dc75 Drop author from pubspecs, organise imports (#899) 2021-09-22 10:17:05 +10:00
Brett Morgan
297f6b0b96 Upgrade deps, format, fix web/filipino_cuisine (#898)
fixes: https://github.com/flutter/samples/issues/897
2021-09-21 11:38:59 -07:00
Majid Hajian
7665752896 Remove extra ios_books in bash code (#868) 2021-09-21 16:35:23 +10:00
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
2021-09-20 09:05:32 -07:00
Andrew Brogdon
4cac0e6661 Lands beta branch into master for 2.5 (#895) 2021-09-08 17:35:05 -07:00
gaaclarke
e43698fa01 updated add_to_app sample to pigeon 1.0 (#894) 2021-09-08 11:07:11 -07:00
Abdullah Deshmukh
69abb6146a Add separate driver file for performance tests (#890) 2021-08-28 10:19:35 +10:00
Abdullah Deshmukh
912418be86 Add desktop runners (#892) 2021-08-28 10:09:10 +10:00
Jenn Magder
79c7cc70a5 Stop excluding arm64 from simulator iOS add-to-app host app archs (#891) 2021-08-27 13:44:14 -07:00
Kevin Moore
2084742612 RouteState: make field final private (#888) 2021-08-26 16:52:38 -07:00
Kevin Moore
c9688ca34b Move library to a top-level variable, since it never changes (#887) 2021-08-26 16:18:40 -07:00
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
2021-08-26 16:14:29 -07:00
Kevin Moore
ad6dc454f2 cleanup: remove old snippets from navigation and routing (#882) 2021-08-26 12:45:40 -07:00
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
2021-08-26 09:16:27 -07:00
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