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

11 Commits

Author SHA1 Message Date
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
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
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
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
Kevin Moore
a1998e6186 Remove web/dad_jokes (#328)
Very outdated. Out of sync with the source project
2020-02-14 10:04:02 -08:00
Kevin Moore
7c33a11a7b web: remove spinning square demo
We've moved well beyond this
2020-02-07 11:02:41 -08:00
Kevin Moore
de40ba5c0a Remove entry for gallery sample: it was removed! 2020-02-07 11:02:41 -08:00
John Ryan
99061705ab re-enable web samples, fix various issues (#156)
* update peanut.yaml, slide_puzzle pubspec

* add data to web/ directory

* define github_data as an asset

* add preview image
2019-10-31 15:26:44 -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
3fe927cb29 Add flutter_web samples (#75) 2019-05-07 13:32:08 -07:00