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

125 Commits

Author SHA1 Message Date
Andrew Brogdon
4646f0fc8e Adds analysis options to Veggie Seasons (#98) 2019-07-01 10:26:50 -07:00
Branden Taylor
2ec8cc3684 Secondpage (#97) 2019-06-28 08:28:31 -07:00
Kevin Moore
b3ef6466fc web: update dependencies 2019-06-27 13:56:20 -04:00
Andrew Brogdon
d990979c90 Adds flutter_maps_firestore to travis config (#96) 2019-06-25 14:48:55 -07:00
Branden Taylor
e4b4b35182 The rest of page one for isolate_example 2019-06-25 11:28:13 -07:00
Brett Morgan
599c865629 Initial commit flutter_maps_firestore (#93) 2019-06-25 10:36:23 -07:00
Kevin Moore
f79f7d20b5 web: update sample dependencies 2019-06-21 19:41:50 -07:00
Kevin Moore
cfcd1d5f43 web/slide_puzzle: explicit about supported provider version 2019-06-21 19:35:40 -07:00
Branden Taylor
8d1e751050 Added the main animation for page 1 (#94) 2019-06-20 22:11:23 -07:00
Branden Taylor
9241a062bc Added 3 tabbed pages with welcome messages (#92) 2019-06-17 16:08:45 -07:00
Branden Taylor
d35d88740d An empty app to start with (#91) 2019-06-14 15:07:05 -07:00
Kevin Moore
c78b873f7d Revert "web: slide_puzzle - update to latest provider port"
Seeing an issue with generics and dart2js (or DDC)

This reverts commit 7a42263344.
2019-06-14 11:33:32 -07:00
Kevin Moore
92b6848c3c web/slide_puzzle: use hosted font for Plaster 2019-06-14 11:06:38 -07:00
Kevin Moore
3bad92abb6 web: dartfmt all files 2019-06-14 10:45:34 -07:00
Kevin Moore
7a42263344 web: slide_puzzle - update to latest provider port 2019-06-14 10:45:21 -07:00
Kevin Moore
3d405359c7 web: update dependencies 2019-06-13 09:11:26 -07:00
Branden Taylor
5c0536576e Tweaking sample index (#90) 2019-06-12 10:58:35 -07:00
Kevin Moore
c64fd8074b web: update dependencies 2019-06-12 08:49:04 -07:00
Andrew Brogdon
938ef8682c Reformats platform_design to match repo conventions, fixes missing icon (#89) 2019-06-11 08:53:53 -07:00
xster
325c5a5d2b Add a Material/Cupertino adaptive application example (#69) 2019-06-10 14:14:34 -07:00
Andrew Brogdon
08beb69245 Updates veggieseasons to Dart 2.3, adds some minor UI updates (#88) 2019-06-10 09:47:09 -07:00
Kevin Moore
cf2a3b28cd web: update dependencies
fix chart tests with latest SDK
2019-06-07 10:23:50 -07:00
Kevin Moore
bd5e5918d7 web: update dependencies 2019-06-03 23:26:47 -07:00
Kevin Moore
6290e253f3 web: update dependencies 2019-05-31 11:02:06 -07:00
Kevin Moore
902da5c82a web/slide_puzzle updates
spelling fix
Use SingleTickerProviderStateMixin
Handle vertical constrained size
2019-05-30 09:51:20 -07:00
Kevin Moore
7a8fd19e26 web: update dependencies 2019-05-30 07:26:17 -07:00
Kevin Moore
d38dd25513 web: update dependencies 2019-05-29 09:29:35 -07:00
Kevin Moore
8b6c615a16 update flutter_web dep 2019-05-28 09:06:45 -07:00
Kevin Moore
cb5036305e More state cleanup 2019-05-25 22:12:58 -07:00
Kevin Moore
62ffd22505 Add ValueTabController – generic feature! 2019-05-24 20:31:01 -07:00
Kevin Moore
f87c2bb577 web/slide_puzzle: more provider cleanup 2019-05-24 19:27:17 -07:00
Kevin Moore
d6d51d8b1a web: update dependencies 2019-05-24 11:59:43 -07:00
Kevin Moore
0e50bbd6c9 slide_puzzle: use pkg:provider 2019-05-23 20:07:57 -07:00
Kevin Moore
051f5bec29 web: update dependencies 2019-05-23 19:58:49 -07:00
Kevin Moore
a18c0f1483 web: upgrade dependencies 2019-05-22 08:42:22 -07:00
Michael Thomsen
3098bf2c9a flutter pub (#86) 2019-05-22 16:54:09 +02:00
Filip Hracek
fa356540c6 Ensure flutter format and fix offending files (#80)
The current Travis script will only print offending files, but won’t fail the build. Added `--set-exit-if-changed` to fix that.

Also, simplified the call from using `grep` and `xargs` to simple `flutter format .`, which recurses directories.

Lastly, fixed offending files that needed `dartfmt`. (But not in the directories that aren’t covered by `travis_script.sh`.
2019-05-21 13:30:37 -07: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
Filip Hracek
a335558d44 Migrate from scoped_model to provider (#81)
This is the minimal possible change. It is meant to be readable as a standalone Pull Request.

This does not touch comments. Additionally, it doesn’t use the niceties of provider, like automatic disposal of the model. Lastly, it doesn’t even rename the project from `scoped_model_counter`. All that will come in a follow-up PR.
2019-05-20 12:45:22 -07:00
Kevin Moore
18e29d8ee6 web: update dependencies 2019-05-20 10:58:07 -07:00
Kevin Moore
3ca33bdd59 update web sample dependencies 2019-05-12 15:23:09 -07:00
Kevin Moore
4963d7c6a6 Update web readme (#79) 2019-05-10 10:33:05 -07:00
Priyanka Tyagi
465f4dba91 added instructions to run web sample apps (#78)
Updated readme to include instructions to be able to build web sample apps locally.
2019-05-09 11:10:30 -07:00
Kevin Moore
236eed92a2 Fix Dad jokes index.html 2019-05-08 09:35:22 -07:00
Kevin Moore
d6d23f5168 Fix place_tracking while we're at it 2019-05-08 09:19:45 -07:00
Kevin Moore
b0de11e051 Only run master on Travis
Avoids double builds on PR + branch
2019-05-08 09:19:45 -07:00
Kevin Moore
e0434bac2f Update and standardize html, fix gallery on mobile devices 2019-05-07 17:59:15 -07:00
Kevin Moore
0f7c76d4d8 small example tweak 2019-05-07 13:46:03 -07:00