1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-10 14:58:34 +00:00
Commit Graph

12 Commits

Author SHA1 Message Date
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
John Ryan
edf219354e add web_dashboard API (#333)
* add web_dashboard sample

* add docs

* address code review comments

* restructure web_dashboard

* set up provider and mock service

* add copyright headers, use relative imports

* add API class, add tests

* fmt

* rename services -> API, remove data library

* use new API in app

* add stream to items api

* convert from StreamBuilder to StreamProvider

* add subscription to Entry API

* rename API classes

* address comments

* Update README.md

* update README

* remove routing_demo
2020-03-02 16:04:10 -08:00
Aadarsh Patel
c6f6b5b757 Added missing login page (#339) 2020-03-02 09:59:58 -08:00
Filip Hracek
c121b2d2a6 Follow best practice of ProxyProvider updating (#298)
* Upgrade to pkg:provider 4.0

* Follow best practice of ProxyProvider updating

The addresses feedback from https://github.com/flutter/samples/issues/245. Instead of constructing a new `CartModel`, we merely update the `catalog` field.

We no longer need a fancy constructor, and `CartModel._catalog` cannot be final any more.
2020-01-31 13:25:14 -08:00
Brett Morgan
738861ffe3 provider_shopper: update android and ios, add macos and web (#236) 2020-01-17 06:09:33 +10:00
Brett Morgan
d71180683c flutter pub upgrade (#178) 2019-12-18 10:54:58 +11:00
Brett Morgan
73086e20c1 Beta branch fix (#173) 2019-12-11 13:01:45 -05:00
Andrew Brogdon
5b0fd46fed Maintenance for provider_shopper (#168) 2019-12-02 10:12:43 -08:00
Brett Morgan
22f01ff4a6 Analysis options uplift to 1.8 (#169) 2019-11-22 11:12:35 +11:00
Brett Morgan
23d71e057d Adding git ignores and pubspec updates (#166) 2019-11-22 09:53:27 +11:00
Andrew Brogdon
16fa475ff8 Updates for 1.9 (#139) 2019-09-10 08:47:34 -07:00
Filip Hracek
086a77b1b8 Add provider_shopper (#87)
This is the code for the sample at https://flutter.dev/docs/development/data-and-backend/state-mgmt/simple.
2019-07-23 15:40:43 -07:00