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

1794 Commits

Author SHA1 Message Date
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
Andrew Brogdon
aab1efd51a Updating place_tracker again (#77) 2019-05-07 13:40:19 -07:00
Kevin Moore
3fe927cb29 Add flutter_web samples (#75) 2019-05-07 13:32:08 -07:00
Kenneth Ford
42f2dce01b Added Chrome OS Best Practices Sample (#74) 2019-05-07 13:30:41 -07:00
Andrew Brogdon
7434817c0b Updating Veggie Seasons README. 2019-05-05 17:25:57 -07:00
Andrew Brogdon
c6ce0998e6 Added Veggie Seasons to the index (#73) 2019-05-05 17:21:26 -07:00
Andrew Brogdon
ce28b8c010 Updates place_tracker to specify SDK >=2.1.0 (#71) 2019-05-05 15:16:14 -07:00
Kevin Moore
c68ee4ab9e Update jsonexample (#72)
- use latest dependencies
- update build.yaml for removed option
- rebuilt generated code
2019-05-01 17:56:55 -07:00
Jon Tippens
edd51e019b Small text correction (#70) 2019-04-24 07:40:48 -07:00
Tim Sneath
38a54314c7 Clean up .gitignore and checked in files (#65) 2019-04-14 17:10:44 -07:00
Xiao Yu
c45e5ea2b6 accidentally pushed to master 2019-04-11 23:06:28 -07:00
Xiao Yu
77fff68d15 made some progress 2019-04-11 23:04:48 -07:00
xster
46a62e252b Make in-season and not-in-season cards different (#67) 2019-04-10 01:23:57 -07:00
xster
1ade80f948 translucent search tab bar (#68) 2019-04-09 16:24:35 -07:00
xster
759afa5435 add profile xcode configuration (#66) 2019-04-09 00:52:16 -07:00
Andrew Brogdon
3f77d3c8d4 Un-transparented launcher icon. (#64) 2019-03-25 16:17:13 -07:00
Andrew Brogdon
bf3a963bdc Adds season display to details screen. (#62) 2019-03-25 11:22:23 -07:00
Andrew Brogdon
673992f49e Adds rest of the trivia questions (#63) 2019-03-22 15:12:29 -07:00
Andrew Brogdon
526ee0602a Adds trivia to Veggie details screen (#61) 2019-03-22 08:32:44 -07:00
Andrew Brogdon
dcca6e44b2 Refactors detail view in advance of trivia (#60) 2019-03-20 15:59:59 -07:00
Kenzie Schmoll
a2419b3dcf Update Place Tracker to use latest version of plugin (#59) 2019-03-20 09:08:13 -07:00
Abhijeeth Padarthi
8fe2999ee8 Removed redundant "const" and "new" assignments & Formatted code. (#58) 2019-03-19 09:27:32 -07:00
Andrew Brogdon
be35972637 Adding no-result display to search screen. (#57) 2019-03-18 08:41:16 -07:00
Andrew Brogdon
cf95d2c3a3 Adds semantic labels to images and modal close button (#56)
* Added semantic labels to images.

* Reverting project file.

* Semantic label for close button.
2019-03-14 14:45:15 -07:00
Andrew Brogdon
fe72ed957f Pressable veggie cards, new launcher icon, release metadata. (#54) 2019-03-14 13:42:26 -07:00
Andrew Brogdon
d123c32f29 Moves modal close button to left. (#55) 2019-03-13 13:16:42 -07:00
Will Larche
0431592bd6 Removing Fortnightly since it now lives in flutter_gallery. 2019-03-05 15:05:52 -08:00
Andrew Brogdon
008275b042 Removes extra 'because' in INDEX.md (#51) 2019-02-28 14:14:11 -08:00
Andrew Brogdon
2983b21873 Adds disclaimer to index and tweaks one item description (#50) 2019-02-27 12:30:16 -08:00
Bhavik Makwana
2bac3341a0 Adding Flutter Playground repository (#45) 2019-02-27 10:20:56 -08:00
Andrew Brogdon
7ae3780bcb Unbreaking tests borked by SDK update. (#49) 2019-02-27 10:13:08 -08:00
Will Larche
fce0854b7f [Material] Fortnightly study (#44)
* [Fortnightly] Typography demo / Material study.

* [Fortnightly] Removing unneeded file.

* [Fortnightly] Moving theming into same file as demo.

* [Fortnightly] Moving app logic into demo.

* [Fortnightly] PR feedback.

* [Fortnightly] Expanded README.

* [Material] Formatting.

* [Fortnightly] Renaming file.
2019-02-13 11:35:56 -05:00