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

17 Commits

Author SHA1 Message Date
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