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

47 Commits

Author SHA1 Message Date
Brett Morgan
a695bfca78 Update provider_shopper (#1445) 2022-10-04 22:38:07 +10:00
Brett Morgan
9d8aa333ee Update for Material changes & run rebuild scripts (#1412) 2022-09-01 11:01:17 +10:00
Brett Morgan
83f7059d83 Consolidated Flutter 3.3 update (#1401) 2022-08-31 10:06:34 +10:00
xster
ce35e45702 add thumbnails to the books example to make memory leaks easier to test (#1353)
* add thumbnails to the books example to make memory leaks easier to test

* also add profile build

* migrate material 3 demo code to avoid warning

* Revert "migrate material 3 demo code to avoid warning"

This reverts commit 7df37d9f65.

* fix lints in various packages

* DoNothingAndStopPropagationIntent const conflicts between stable and beta, add lint ignore for now
2022-08-23 23:45:12 -07:00
Brett Morgan
4af443d33f Drop lock files from repo (#1282) 2022-05-28 07:01:26 +10:00
Brett Morgan
58bc5d7a58 Deps update, utilize super.key (#1265)
* Deps update, utilize `super.key`

* `flutter format`
2022-05-13 12:31:56 -07:00
Brett Morgan
ccd68f34e2 Beta (#1234) 2022-05-11 12:48:11 -07:00
Craig Labenz
e8b2bec22a Add Material You and Rich Text Editor samples (#1223)
* Added Material You and Rich Text Editor samples

* updated images to have Material 3

* updated packages info
2022-05-09 13:03:51 -07:00
Brett Morgan
63235a729a Update pubspec.lock and friends (#1076) 2022-04-20 07:31:26 +10:00
Brett Morgan
a481c264cd Remove git:// url, update deps, fix destop_photo_search (#1052) 2022-03-19 08:37:04 +10:00
Miguel Beltran
35713ac2d9 rename constants (#1047) 2022-03-08 11:08:53 +10:00
Miguel Beltran
4b9cc632a7 Setup to handle app window on desktop (#1028) 2022-03-01 05:50:10 +10:00
Miguel Beltran
2e8a2c9e6d Updated Android files (#1013) 2022-02-18 13:54:32 +10:00
Andrew Brogdon
664b63c03c Updates for 2.8! (#961) 2021-12-09 13:15:57 +10:00
Brett Morgan
be34b0bf43 Centralize analysis options (#957) 2021-12-01 16:49:51 +10: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
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
Andrew Brogdon
4cac0e6661 Lands beta branch into master for 2.5 (#895) 2021-09-08 17:35:05 -07:00
Brett Morgan
936d1fdaae Upgrading samples to flutter_lints, part 1 of n (#804) 2021-06-05 12:24:28 +10:00
Andrew Brogdon
376c666f0a Merge beta into master (#799) 2021-05-18 13:35:06 -07:00
Andrew Brogdon
8c1cd0b049 Landing beta changes in master for the new stable release (#747) 2021-03-03 11:44:35 -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
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
Alabhya
0188371865 Added trailing button to delete cart item in provider_shopper App (#571) 2020-10-30 10:58:48 -07:00
Andrew Brogdon
9af31afec4 Updates for Flutter 1.22 (#559) 2020-10-01 11:14:27 -07:00
Nikita Puzankov
253cd3d0ab Small typo fix. (#542) 2020-09-14 13:03:45 -07:00
Brett Morgan
d88f131982 flutter pub upgrade (#524) 2020-08-17 20:40:46 +10:00
Filip Hracek
c617da7e1e Upgrade provider shopper (#521) 2020-08-13 18:02:04 -07:00
Andrew Brogdon
0eb1233cb4 Updates samples for latest beta release of the Flutter SDK (#492)
* Updating for beta release

* Re-adding pub get to Flutter travis script
2020-08-05 08:05:31 -07:00
查理大叔
30ee7202e2 Code of other files depends on headline1 (#466)
Code of other files depends on `headline1`, but there's only `headline2` defined in the **theme.dart** file.

This was a regression introduced with #432.
2020-06-09 21:35:10 -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
Jaideep Prasad
ddf610d682 [provider_shopper] Added widget tests for login, catalog and cart screens (#400) 2020-04-27 17:45:50 -07:00
Brett Morgan
28742ddeaf Adding directives_ordering (#396) 2020-03-26 06:14:39 +11: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
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