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

10 Commits

Author SHA1 Message Date
Brett Morgan
583457dc75 Drop author from pubspecs, organise imports (#899) 2021-09-22 10:17:05 +10: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
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
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
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
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
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
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