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

12 Commits

Author SHA1 Message Date
Miguel Beltran
93db48966c Explicit import for Platform and kIsWeb (#1898)
Following the ideas in flutter/website#7798 I have changed the imports
needed for Platform and kIsWeb to be explicitly named.

## Pre-launch Checklist

- [ ] I read the [Flutter Style Guide] _recently_, and have followed its
advice.
- [ ] I signed the [CLA].
- [ ] I read the [Contributors Guide].
- [ ] I updated/added relevant documentation (doc comments with `///`).
- [ ] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-devrel
channel on [Discord].

<!-- Links -->
[Flutter Style Guide]:
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
[CLA]: https://cla.developers.google.com/
[Discord]: https://github.com/flutter/flutter/wiki/Chat
[Contributors Guide]:
https://github.com/flutter/samples/blob/main/CONTRIBUTING.md
2023-06-23 13:24:11 +10:00
Miguel Beltran
019441374e migrate provider_shopper to go_router (#1540) 2022-12-21 02:54:46 +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
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
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
Andrew Brogdon
8c1cd0b049 Landing beta changes in master for the new stable release (#747) 2021-03-03 11:44:35 -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
d71180683c flutter pub upgrade (#178) 2019-12-18 10:54:58 +11:00
Andrew Brogdon
5b0fd46fed Maintenance for provider_shopper (#168) 2019-12-02 10:12:43 -08: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