Filip Hracek
fbf40c0cd2
Make use of (context) consistent ( #84 )
...
Since we’re not using `(_)` anywhere else in this example, doing this here is weird.
6 years ago
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.
6 years ago
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.
6 years ago
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.
6 years ago
Kevin Moore
18e29d8ee6
web: update dependencies
6 years ago
Kevin Moore
3ca33bdd59
update web sample dependencies
6 years ago
Kevin Moore
4963d7c6a6
Update web readme ( #79 )
6 years ago
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.
6 years ago
Kevin Moore
236eed92a2
Fix Dad jokes index.html
6 years ago
Kevin Moore
d6d23f5168
Fix place_tracking while we're at it
6 years ago
Kevin Moore
b0de11e051
Only run master on Travis
...
Avoids double builds on PR + branch
6 years ago
Kevin Moore
e0434bac2f
Update and standardize html, fix gallery on mobile devices
6 years ago
Kevin Moore
0f7c76d4d8
small example tweak
6 years ago
Andrew Brogdon
aab1efd51a
Updating place_tracker again ( #77 )
6 years ago
Kevin Moore
3fe927cb29
Add flutter_web samples ( #75 )
6 years ago
Kenneth Ford
42f2dce01b
Added Chrome OS Best Practices Sample ( #74 )
6 years ago
Andrew Brogdon
7434817c0b
Updating Veggie Seasons README.
6 years ago
Andrew Brogdon
c6ce0998e6
Added Veggie Seasons to the index ( #73 )
6 years ago
Andrew Brogdon
ce28b8c010
Updates place_tracker to specify SDK >=2.1.0 ( #71 )
6 years ago
Kevin Moore
c68ee4ab9e
Update jsonexample ( #72 )
...
- use latest dependencies
- update build.yaml for removed option
- rebuilt generated code
6 years ago
Jon Tippens
edd51e019b
Small text correction ( #70 )
6 years ago
Tim Sneath
38a54314c7
Clean up .gitignore and checked in files ( #65 )
6 years ago
Xiao Yu
c45e5ea2b6
accidentally pushed to master
6 years ago
Xiao Yu
77fff68d15
made some progress
6 years ago
xster
46a62e252b
Make in-season and not-in-season cards different ( #67 )
6 years ago
xster
1ade80f948
translucent search tab bar ( #68 )
6 years ago
xster
759afa5435
add profile xcode configuration ( #66 )
6 years ago
Andrew Brogdon
3f77d3c8d4
Un-transparented launcher icon. ( #64 )
6 years ago
Andrew Brogdon
bf3a963bdc
Adds season display to details screen. ( #62 )
6 years ago
Andrew Brogdon
673992f49e
Adds rest of the trivia questions ( #63 )
6 years ago
Andrew Brogdon
526ee0602a
Adds trivia to Veggie details screen ( #61 )
6 years ago
Andrew Brogdon
dcca6e44b2
Refactors detail view in advance of trivia ( #60 )
6 years ago
Kenzie Schmoll
a2419b3dcf
Update Place Tracker to use latest version of plugin ( #59 )
6 years ago
Abhijeeth Padarthi
8fe2999ee8
Removed redundant "const" and "new" assignments & Formatted code. ( #58 )
6 years ago
Andrew Brogdon
be35972637
Adding no-result display to search screen. ( #57 )
6 years ago
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.
6 years ago
Andrew Brogdon
fe72ed957f
Pressable veggie cards, new launcher icon, release metadata. ( #54 )
6 years ago
Andrew Brogdon
d123c32f29
Moves modal close button to left. ( #55 )
6 years ago
Will Larche
0431592bd6
Removing Fortnightly since it now lives in flutter_gallery.
6 years ago
Andrew Brogdon
008275b042
Removes extra 'because' in INDEX.md ( #51 )
6 years ago
Andrew Brogdon
2983b21873
Adds disclaimer to index and tweaks one item description ( #50 )
6 years ago
Bhavik Makwana
2bac3341a0
Adding Flutter Playground repository ( #45 )
6 years ago
Andrew Brogdon
7ae3780bcb
Unbreaking tests borked by SDK update. ( #49 )
6 years ago
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.
6 years ago
Andrew Brogdon
5d56599f7f
Fleshes out settings screen with groups, items, and navigation ( #43 )
6 years ago
Filip Hracek
2128608386
Add the ScopedModel Counter sample ( #41 )
...
Adds sample app that mimics the beloved starter app, but with ScopedModel for state management.
Contains a smoke test and is set up to run it in travis_script.sh.
6 years ago
Andrew Brogdon
e67cbb03ea
Updates travis config to include place_tracker and platform_view_swift ( #42 )
6 years ago
Andrew Brogdon
6ce0d22e9b
Updates detail screen to new, modal design. ( #40 )
6 years ago
Andrew Brogdon
bfb8b8aea9
Adds new image assets, card-style list, and new data for the veggies ( #38 )
6 years ago
Andrew Brogdon
2a2c535aab
Adds veggieseasons preferences, tweaks styles + list page ( #37 )
6 years ago