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

29 Commits

Author SHA1 Message Date
Eric Windmill
719fd72c38 Flutter 3.29 beta (#2571) 2025-02-12 18:08:01 -05:00
Eric Windmill
3172aff8f8 Updates for 3.22 (#2266)
Updates for 3.22

---------

Co-authored-by: Brett Morgan <brettmorgan@google.com>
Co-authored-by: Qun Cheng <chengqunq@gmail.com>
Co-authored-by: Brett Morgan <brett.morgan@gmail.com>
2024-05-14 10:37:24 -04:00
Sasank Tumpati
0e1355841d Fixed ThemeData in the Flutter Samples unnecessarily includes useMaterial3 = true (Issue #2214) (#2217) 2024-03-20 20:16:39 +11:00
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
d001cd079e Enable Material 3 on provider_shopper (#1627)
Co-authored-by: Brett Morgan <brettmorgan@google.com>
2023-02-06 13:50:50 +10:00
Durval Ledo
fe8464f0f9 fix: provider_shopper login button invisible text (#1560)
Fixed text on provider_shopper login button being invisible
2023-01-14 10:50:47 +10:00
Miguel Beltran
019441374e migrate provider_shopper to go_router (#1540) 2022-12-21 02:54:46 +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
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
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
Brett Morgan
936d1fdaae Upgrading samples to flutter_lints, part 1 of n (#804) 2021-06-05 12:24:28 +10:00
Andrew Brogdon
8c1cd0b049 Landing beta changes in master for the new stable release (#747) 2021-03-03 11:44:35 -08:00
Brett Morgan
622e8d55d3 Migrate to the New Material Buttons (#668) 2021-01-27 13:20:50 +11:00
Alabhya
0188371865 Added trailing button to delete cart item in provider_shopper App (#571) 2020-10-30 10:58:48 -07:00
Nikita Puzankov
253cd3d0ab Small typo fix. (#542) 2020-09-14 13:03:45 -07:00
Filip Hracek
c617da7e1e Upgrade provider shopper (#521) 2020-08-13 18:02:04 -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
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
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