Brett Morgan
f1fd4341ff
Flutter beta ( #1952 )
2023-08-17 06:26:43 +10: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
Brett Morgan
82e38e5b79
Update samples for Dart 3.0.0 ( #1803 )
2023-05-11 12:48:09 +10:00
Brett Morgan
36e7a6ab04
Update for Flutter 3.10 beta ( #1746 )
...
## Pre-launch Checklist
- [x] I read the [Flutter Style Guide] _recently_, and have followed its
advice.
- [x] I signed the [CLA].
- [x] I read the [Contributors Guide].
- [x] I updated/added relevant documentation (doc comments with `///`).
- [ ] All existing and new tests are passing.
---------
Co-authored-by: David Iglesias <ditman@gmail.com >
Co-authored-by: Mark Thompson <2554588+MarkTechson@users.noreply.github.com >
Co-authored-by: John Ryan <ryjohn@google.com >
2023-05-11 06:16:31 +10:00
Brett Morgan
31a3d14618
Rebuild runners ( #1725 )
2023-04-08 07:44:56 +10:00
Brett Morgan
3bafa557f7
Update sdk constraint range and update runners ( #1706 )
2023-03-23 18:13:59 +10:00
Brett Morgan
3e9bb78aec
Create analysis_defaults package ( #1654 )
...
* Create `analysis_defaults` package
* Update analysis_defaults/pubspec.yaml
Co-authored-by: Pierre-Louis <6655696+guidezpl@users.noreply.github.com >
---------
Co-authored-by: Pierre-Louis <6655696+guidezpl@users.noreply.github.com >
2023-02-16 23:44:16 +10:00
Miguel Beltran
394459bd12
Enable Material 3 on provider_counter ( #1626 )
...
Co-authored-by: Brett Morgan <brettmorgan@google.com >
2023-02-06 13:56:52 +10:00
Brett Morgan
9d8aa333ee
Update for Material changes & run rebuild scripts ( #1412 )
2022-09-01 11:01:17 +10: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
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
9e9f1dea4c
Add window setup to provider_counter ( #1046 )
2022-03-08 11:04:11 +10:00
Miguel Beltran
f9b9511d01
Update provider_counter Android files ( #1024 )
2022-02-20 20:18:55 +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
84e7057abe
Update pubspec.yaml files ( #958 )
2021-12-01 09:33:28 +10:00
Ahmed Ashour
29339b8334
Remove unneeded types ( #949 )
2021-11-03 09:58:12 -07: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
Robert Piosik
f3de46714b
Fix generic type placement of Provider.of call ( #661 )
2021-01-20 07:44:43 +11:00
Brett Morgan
6e9824dc12
flutter pub update & various fixes ( #627 )
2020-12-18 10:51:31 +11:00
Andrew Brogdon
9af31afec4
Updates for Flutter 1.22 ( #559 )
2020-10-01 11:14:27 -07:00
Brett Morgan
d88f131982
flutter pub upgrade ( #524 )
2020-08-17 20:40:46 +10:00
Filip Hracek
00d0cdf02c
Provider counter update ( #520 )
...
* Upgrade provider
* Update maintenance table
2020-08-13 14:27:50 -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
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
Brett Morgan
28742ddeaf
Adding directives_ordering ( #396 )
2020-03-26 06:14:39 +11:00
sanni prasad
0a88d4519e
Update cupertino_icons: from 0.1.2 to 0.1.3 ( #325 )
2020-02-12 10:28:00 -08:00
Brett Morgan
b7ec38af9c
provider_counter: update android and ios, add macos and web ( #235 )
2020-01-17 06:09:59 +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
Brett Morgan
22f01ff4a6
Analysis options uplift to 1.8 ( #169 )
2019-11-22 11:12:35 +11:00
Andrew Brogdon
28ec1b6f6c
Maintenance for provider_counter ( #165 )
2019-11-21 15:53:32 -08: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
Andrew Brogdon
3d40fa9fb2
Tweaked pubspecs, linted. ( #113 )
2019-07-08 11:25:46 -07:00
Brett Morgan
d4997f6562
Analysis options ( #109 )
2019-07-04 15:03:52 +10:00
Filip Hracek
fbf40c0cd2
Make use of (context) consistent ( #84 )
...
Since we’re not using `(_)` anywhere else in this example, doing this here is weird.
2019-05-20 18:40:46 -07:00
Filip Hracek
7bae186046
Finish the migration from scoped_model to provider
...
After this change, we’re managing Counter’s lifecycle with ChangeNotifierProvider.
This removes the periodic Timer. Not only does that simplify the example and makes it closer to the original, it also prevents a leaking timer (though, in this case, it’s not an issue, since the timer is needed for the whole duration of the app). I experimented with a more robust approach (having or injecting a Timer/StreamController into the Counter, and disposing of it there) but that seemed overly complex for such a simple example. This whole problem will get significantly easier with https://github.com/rrousselGit/provider/issues/46 , at which point I could reintroduce this. I will also think about a more complex Provider example, something like the venerable `bloc_complex`, with infinite-scrolling pagination and all that.
2019-05-20 16:54:25 -07:00
Filip Hracek
31edec5378
Move scoped_model_counter to provider_counter ( #82 )
...
I used `flutter create` anew, so the project structure now has additional 2 `AndroidManifest.xml` files. Everything else stayed the same, so from git’s perspective, it’s just moved files.
2019-05-20 15:59:51 -07:00