1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 22:09:06 +00:00
Commit Graph

30 Commits

Author SHA1 Message Date
Brett Morgan
3b46646306 flutter pub upgrade --major-versions (#1061) 2022-04-06 11:45:20 +10:00
Brett Morgan
26d88f1799 Update pubspec.yaml files (#971) 2022-01-05 10:43:14 +10:00
Brett Morgan
84e7057abe Update pubspec.yaml files (#958) 2021-12-01 09:33:28 +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
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
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
936d1fdaae Upgrading samples to flutter_lints, part 1 of n (#804) 2021-06-05 12:24:28 +10: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
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
Brett Morgan
6e9824dc12 flutter pub update & various fixes (#627) 2020-12-18 10:51:31 +11:00
Brett Morgan
d88f131982 flutter pub upgrade (#524) 2020-08-17 20:40:46 +10: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
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
John Ryan
0a5a5109de Add samples index (#359)
* add samples_index to web/ directory

Co-authored-by: Thea Flowers <theaflowers@google.com>

* add pub_get.dart script

* build sample index in peanut post build

* re-generate sample index with web demos

* print more details in peanut_post_build.dart

* add images for demos

* run generator

* update README

* add animations and provider shopper as symlinks

* add links to symlinked web demos

* use relative paths

* update cookbook images, urls, and description CSS

* use relative URL for navbar link

* unstage HTML files

* .gitignore generated HTML files

* add margin to toolbar

* rename escape functions

* add and update copyright headers

Co-authored-by: Thea Flowers <theaflowers@google.com>
2020-03-09 16:17:08 -07:00
Brett Morgan
d71180683c flutter pub upgrade (#178) 2019-12-18 10:54:58 +11:00
Brett Morgan
22f01ff4a6 Analysis options uplift to 1.8 (#169) 2019-11-22 11:12:35 +11:00
Kevin Moore
7a63156650 Fix web/_tool/verify_packages
Fix lints in a number of samples
2019-09-12 19:58:17 -07:00
John Ryan
317d459a58 Update web/ samples to work with Flutter SDK (#134)
* add package:http dependency in dad_jokes

* add package:http dependency in filipino_cuisine

* don't build package:http demos until flutter/flutter#34858 is resolved

* update gallery

* update github_dataviz

* update particle_background

* don't build github_dataviz (uses package:http)

* update slide_puzzle

* update spinning_square

* update timeflow

* update vision_challenge

* update charts

* update dad_jokes

* update filipino cuisine

* ignore build output

* update timeflow and vision_challenge

* update slide_puzzle

* don't commit build/ directory

* move preview.png images to assets

* fix path url join

* update readme

* update web/readme.md
2019-09-10 09:49:58 -07:00
Kevin Moore
9a536c9f08 web: updated dependencies 2019-07-25 16:23:48 -07:00
Kevin Moore
b3ef6466fc web: update dependencies 2019-06-27 13:56:20 -04:00
Brett Morgan
599c865629 Initial commit flutter_maps_firestore (#93) 2019-06-25 10:36:23 -07:00
Kevin Moore
3bad92abb6 web: dartfmt all files 2019-06-14 10:45:34 -07:00
Kevin Moore
cf2a3b28cd web: update dependencies
fix chart tests with latest SDK
2019-06-07 10:23:50 -07:00
Kevin Moore
6290e253f3 web: update dependencies 2019-05-31 11:02:06 -07:00
Kevin Moore
e0434bac2f Update and standardize html, fix gallery on mobile devices 2019-05-07 17:59:15 -07:00
Kevin Moore
0f7c76d4d8 small example tweak 2019-05-07 13:46:03 -07:00
Kevin Moore
3fe927cb29 Add flutter_web samples (#75) 2019-05-07 13:32:08 -07:00