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

110 Commits

Author SHA1 Message Date
Brett Morgan
994cdb4afa flutter pub upgrade (#926)
* flutter pub upgrade

* `desktop_photo_search`: Remove unneeded `unawaited`

Co-authored-by: John Ryan <ryjohn@google.com>
2021-10-11 14:01:27 -07:00
Brett Morgan
58af3f5c75 Delete the filipino_cuisine web sample (#923)
* Delete the `filipino_cuisine` web sample

* Drop `filipino_cuisine` from sample index
2021-10-11 11:04:28 -07:00
Brett Morgan
e2e2713986 Enforce use_key_in_widget_constructors and file_names lints (#913)
* Start enforcing use_key_in_widget_constructors and file_names lints

* dart format

* analysis fixes

* analysis fixes, pt2

* analysis fixes, part 3

* Revert platform_design (test failure)

* More reverts

* Notate why we aren't enforcing a lint
2021-10-08 14:30:28 -07:00
Brett Morgan
83d3ea99f0 web/github_dataviz: Migrate to null safety (#919) 2021-10-08 19:43:25 +11:00
Brett Morgan
8932e60976 web/charts: Migrate to null safety (#921) 2021-10-08 15:39:37 +10:00
Brett Morgan
d14e79b833 filipino_cuisine: migrate to null safety (#920) 2021-10-08 11:10:23 +10:00
Brett Morgan
2d9ba2f9eb web/chart: fix sample (#909) 2021-10-07 07:10:34 +10:00
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
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
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
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
Arash
52fa15609c Update samples.yaml (#855)
Fix incorrect URL source of Platform View Swift sample
2021-07-21 17:36:08 -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
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
Brett Morgan
a405fc4a9d Update the dependencies (#815) 2021-06-08 08:15:43 +10:00
Brett Morgan
936d1fdaae Upgrading samples to flutter_lints, part 1 of n (#804) 2021-06-05 12:24:28 +10:00
John Ryan
b00ac891fa update slide_puzzle to latest master (#802) 2021-05-25 22:32:30 -07:00
John Ryan
3f5ab56485 Add workflow to deploy the sample index (#791)
* Add workflow to build and deploy the sample index

* update gh-pages action

* fix yaml

* create web/ directory in build

* grammar

* add ignored directories

* revert pubspec.lock files

* add job to run _tool/verify_samples.dart

* Update filipino_cuisine for Flutter 2

* remove timeflow demo.

The unnamed List constructor is now deprecated, refactoring
this code to use add() requires more knowledge about the code for
this demo.
https://dart.dev/null-safety/understanding-null-safety#no-unnamed-list-constructor

* update slide_puzzle

* ensure stable channel is used to verify

* move verify web demos action into separate yaml file - avoid running
on each flutter version.

* add on: pull_request

* update slide_puzzle

* Update gh-pages.yml

* Add copyright header
2021-05-06 10:26:15 -07:00
Tushar Ojha
51ebc7e0bf Updated readme for web (#754) 2021-03-08 20:22:54 +11:00
Utkarsh Shendge
f3d32771c8 Update link (#709) 2021-02-08 18:31:32 -08:00
John Ryan
241e2c1b26 Fix cookbook scraper bugs and re-run (#697)
* fix path separator bug in cookbook scraper

* update lockfiles

* add category to image name to avoid conflicts

e.g.
testing/integration/introduction
testing/widget/introduction

* fix form_app symlink

* remove webimages directory

* remove vision_challenge

vision_challenge doesn't build on the dev channel

* update pubspec.yaml in _tool and form_app
2021-02-08 10:36:22 -08:00
Kevin Moore
c8a2327f5f Fix demo link (#700) 2021-02-05 17:02:22 -08:00
Udit Singh
f628602f2a [samples_index] Update samples.yaml added samples. (#604)
* Add infinite_list,
ios_app_clip and testing_app to Sample Index

* Add infinite_list and ios_app_clip and testing_app
Images

Co-authored-by: Udit singh <Udit-singh@users.noreply.github.com>
2021-02-01 09:44:22 -08:00
Tushar Ojha
2f6767f95e [samples_index] updated source code url for form_app (#688) 2021-01-30 08:10:40 +11:00
Sashika Nawarathne
60c5cf97eb Fix carousel alignment issue (#691) 2021-01-29 08:24:53 -08:00
Brett Morgan
622e8d55d3 Migrate to the New Material Buttons (#668) 2021-01-27 13:20:50 +11:00
Brett Morgan
6e9824dc12 flutter pub update & various fixes (#627) 2020-12-18 10:51:31 +11:00
Sashika Nawarathne
d1b054cb02 [samples_index] Fix carousel edge cases and make mobile responsive (#608)
* Fix carousel ui issues

* Update carousel to be mobile responsive
2020-12-07 10:39:50 -08:00
Sashika Nawarathne
c60f02d7c3 Implement carousel (#605)
Add type declaration
2020-12-02 15:06:06 -08:00
John Ryan
1d33b3dcf7 add visual samples index tests to CI (#597) 2020-12-01 22:45:02 -08:00
Sashika Nawarathne
a0d314bf5e Add type param filter (#596)
Format code
Add match by type tests
2020-11-17 10:20:00 -08:00
John Ryan
2236f122b4 Add web support to place_tracker (#550)
* enable web for place_tracker

* add place_tracker symlink

* add generated_plugin_registrant.dart

* update google_maps_flutter_web to fix pins not showing

* add place_tracker to peanut.yaml

* upgrade place_tracker dep

* use a 32 pixel square

* Apply zoom to selected category when the PlaceMapState updates. This fixes a grey screen issue in web, after saving a place.

* pub upgrade

* run pub upgrade

* use published versions of packages

* remove lib/generated_plugin_registrant.dart

* add newline

* add web API key to README

Co-authored-by: David Iglesias Teixeira <ditman@gmail.com>
2020-09-23 11:06:25 -07:00
Brett Morgan
d88f131982 flutter pub upgrade (#524) 2020-08-17 20:40:46 +10:00
John Ryan
34757d8aac Add web_dashboard and form_app to sample index (#506)
* add web_dashboard and form_app to web/ via symlinks

* update samples.yaml, add images

* fix web/readme.md instructions

* remove dependency on package:resource
2020-07-29 11:19:16 -07:00
John Ryan
a94342d199 Fix filipino cuisine (#468)
* update filipino cuisine to match hosted JSON

https://filipino-cuisine-app.firebaseio.com/data.json must have
changed recently

* use local version of data.json in filipino_cuisine app

* remove unknown JSON keys
2020-06-12 09:19:23 -07:00
John Ryan
8fbe1d6366 Run full sample index build when running peanut (#456)
The previous `build-release` task doesn't generate the index file.
2020-06-02 15:17:56 -07:00
mariamhas
c537c3b818 Add dice sample (#454)
* add dice sample image

* Update samples.yaml
2020-06-01 16:31:41 -07:00
John Ryan
7e4cb0fb56 change slide_puzzle to a submodule (#441)
* change slide_puzzle to a submodule

* use HTTPS
2020-05-18 13:07:37 -07:00
Brett Morgan
baa1f976b2 Samples maintenance (#435) 2020-05-13 09:18:26 +10:00
John Ryan
14b9a8c4c4 Flutter 1.17 updates (#432)
* Material text theme updates & flutter pub upgrade (#411)

* Beta channel updates (#412)

* fix deprecated usages in provider_shopper - beta channel

* fix deprecated usages in animations - beta channel

* fix deprecated usages in provider_counter - beta

* Updates additional samples for beta release (#416)

* use headline6 instead of title

* fix another title -> headline6

Co-authored-by: Brett Morgan <brett.morgan@gmail.com>
Co-authored-by: Andrew Brogdon <RedBrogdon@users.noreply.github.com>
2020-05-06 14:09:15 -07:00
Pierre-Louis
27198ad733 Update Flutter Gallery link (#429) 2020-05-05 14:35:59 -07:00
John Ryan
9a464fad00 update slide_puzzle (#420)
* update slide_puzzle

* run createThumbnails before build-release grind task

* add license headers
2020-04-29 13:41:36 -07:00
John Ryan
ef0114c210 update slide_puzzle for beta channel (#419)
includes PR: https://github.com/kevmoo/slide_puzzle/pull/5
2020-04-23 09:33:43 -07:00
John Ryan
8763d754ad Add thumbnail images to VSI (#415)
* add thumbnail image generation

improves page load from 41.7 MB to 7.6 MB

* remove filesCreated set - thumbnails for each image are generated.

* set package:image version in pubspec

* Update grind.dart
2020-04-17 13:55:12 -07:00
Govind Dixit
ff924ef6cb fix timeflow broken link (#407) 2020-04-02 17:03:39 -07:00
John Ryan
a165fb98ad update samples_index UX (#371)
- Use Google Sans
- add brand colors
- adjust spacing on elements
- align MDC Chips to spec
- update type labels to spec
2020-03-16 10:03:24 -07:00