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

431 Commits

Author SHA1 Message Date
Abdullah Deshmukh
033ae11733 Fix file names for the perf test timelines (#525) 2020-08-18 21:47:36 -07:00
John Ryan
d61d843f56 Update place_tracker README (#530) 2020-08-18 21:46:49 -07:00
Andrew Brogdon
0362a64ec5 Removing add_to_app redirect file (#527) 2020-08-17 12:04:32 -07:00
Brett Morgan
d88f131982 flutter pub upgrade (#524) 2020-08-17 20:40:46 +10:00
Filip Hracek
c617da7e1e Upgrade provider shopper (#521) 2020-08-13 18:02:04 -07:00
John Ryan
8767dadff0 Add smaller images, use AssetImage directory structure (#522)
https://api.flutter.dev/flutter/painting/AssetImage-class.html
2020-08-13 15:28:47 -07:00
John Ryan
955d8c4266 Make package:provider a direct dependency (#523) 2020-08-13 15:27:36 -07:00
Ming Lyu (CareF)
824aeb5a16 Add an e2e (host-independent) test demo to testing_app (#515) 2020-08-13 15:00:22 -07:00
John Ryan
437d1f620b Place tracker/maintenance (#519)
* format place_tracker README

* update sentence in README

* sort Dart members, remove unnecessary type declarations

* Run place_tracker on Android and iOS, update project files

* add link to developer preview caveat

* grammar

* update MAINTENANCE
2020-08-13 14:30:28 -07:00
Filip Hracek
00d0cdf02c Provider counter update (#520)
* Upgrade provider

* Update maintenance table
2020-08-13 14:27:50 -07:00
Filip Hracek
af0858b69d Veggie seasons update (#518) 2020-08-13 13:55:11 -07:00
Andrew Brogdon
e73b132ce5 Removing gallery redirect (#517) 2020-08-13 13:22:43 -07:00
Andrew Brogdon
646fafe120 Updating maintenance log (#516) 2020-08-13 13:10:17 -07:00
Abdullah Deshmukh
879029a98f Fix typos (#511) 2020-08-12 22:03:35 -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
Ayush Bherwani
c5c2da9a4b [federated_plugin] adds web implementation of federated_plugin (#507) 2020-08-04 22:38:20 -07:00
Brett Morgan
18758bf5af Testing sample (#500) 2020-08-04 22:29:53 -07:00
John Ryan
34757d8aac Add web_dashboard and form_app to sample index (#506)
* add web_dashboard and form_app to web/ via symlinks

* update samples.yaml, add images

* fix web/readme.md instructions

* remove dependency on package:resource
2020-07-29 11:19:16 -07:00
Ayush Bherwani
6d909874db [federated_plugin] adds platform interface implementation and plugin implementation for Android (#503) 2020-07-28 20:47:36 -07:00
John Ryan
3bc860f5df Default to mock version in web_dashboard (#505)
* use named constructors, set default app to mock version

* rename grind tasks
2020-07-28 07:21:12 -07:00
Ayush Bherwani
32d04ba635 [federated_plugin_sample] Initial commit (#497) 2020-07-20 17:55:55 -07:00
Ayush Bherwani
86fd809f72 [platform_channels] updates README (#496) 2020-07-15 21:23:31 -07:00
Ayush Bherwani
03008a5d19 [platform_channels] adds BasicMessageChannel Demo (#484) 2020-07-10 17:11:52 -07:00
Brett Morgan
9140559040 Update linux compilation generated files (#489) 2020-07-09 08:03:21 +10:00
Brett Morgan
11cbd8b637 Update deps (#488) 2020-07-08 07:24:18 +10:00
Andrew Brogdon
510164d00b Removing unnecessary test file (#485) 2020-06-29 12:35:43 -07:00
Andrew Brogdon
119a3e4ce9 Removing index and unused testing files (#486) 2020-06-29 12:35:28 -07:00
Brett Morgan
5a83eb300e Adding linux support (#482) 2020-06-24 07:17:36 +10:00
Rubens de Melo
09b26f89b4 fix ios install (#479)
To use this plugin on iOS you need to opt-in for the embedded views preview by adding a boolean property to the app's Info.plist file, with the key io.flutter.embedded_views_preview and the value YES.

<key>io.flutter.embedded_views_preview</key>
<true/>
2020-06-22 13:31:54 +10:00
Rubens de Melo
9c52aad538 fix ios install (#480)
fix ios install
2020-06-22 13:26:29 +10:00
Ayush Bherwani
ecb5aab94d [platform_channels] adds Platform Image demo (#475) 2020-06-19 15:58:00 -07:00
xster
70976eeb28 Add a pigeon sample that demonstrates a "realistic" integration scenario with middleware and business logic (#465) 2020-06-12 23:18:05 -07:00
Ayush Bherwani
87c9cfa995 [platform_channels] adds EventChannel Demo (#462) 2020-06-12 16:58:43 -07:00
Tushar Ojha
084c532ac0 [place_tracker] ChangeNotifierProvider for state management (#424) 2020-06-12 16:50:46 -07:00
John Ryan
af5be70f34 add form_app (#463)
* add form_app

* revert unrelated changes

* use links in README

* remove unnecessary type annotation

* Remove GlobalKey for sign_in_http sample

* reword comment

* run package:copywriter

* use relative import

* fix quotes

* Add punctuation

* make sure setState() is used in form_widgets sample

* avoid first person pronoun

* store date state in parent widget in form_widgets.dart
2020-06-12 12:38:46 -07:00
John Ryan
a94342d199 Fix filipino cuisine (#468)
* update filipino cuisine to match hosted JSON

https://filipino-cuisine-app.firebaseio.com/data.json must have
changed recently

* use local version of data.json in filipino_cuisine app

* remove unknown JSON keys
2020-06-12 09:19:23 -07:00
Brett Morgan
dad1de0a3d Adding testing_sample as a tested branch (#470)
Setting up a long lived branch for development of a testing sample.
2020-06-11 21:16:49 -07:00
查理大叔
30ee7202e2 Code of other files depends on headline1 (#466)
Code of other files depends on `headline1`, but there's only `headline2` defined in the **theme.dart** file.

This was a regression introduced with #432.
2020-06-09 21:35:10 -07:00
Brett Morgan
47b8610ed9 Use flutter_simple_treeview (#461) 2020-06-09 15:58:00 +10:00
xster
2c6f2ddb1f change link in add-to-app module readme (#464) 2020-06-08 15:49:59 -07:00
Ayush Bherwani
491c3f58aa [animations] adds test for CarouselDemo (#443) 2020-06-05 18:15:59 -07:00
Ayush Bherwani
d500d15c0f updates link for Flutter Gallery and Shrine (#459) 2020-06-04 14:55:45 -07:00
Ayush Bherwani
acf700c642 Initial Commit for PlaformChannel Sample App (#453) 2020-06-04 14:54:52 -07:00
John Ryan
8fbe1d6366 Run full sample index build when running peanut (#456)
The previous `build-release` task doesn't generate the index file.
2020-06-02 15:17:56 -07:00
Brett Morgan
84ba9feba2 Linking to a analysis_options.yaml that is present (#450)
fixes: https://github.com/flutter/samples/issues/449
2020-06-02 14:35:59 +10:00
mariamhas
c537c3b818 Add dice sample (#454)
* add dice sample image

* Update samples.yaml
2020-06-01 16:31:41 -07:00
John Ryan
8a9bcfa113 [web_dashboard] add logout (#447)
* logout wip

* Use AnimatedSwitcher, change lingo from "login" to signIn"

* add automatic sign-in

* fix flashing sign in button

* sign out of FirebaseAuth and GoogleSignIn

* formatting

* change isSignedIn() to getter

* Add error handling for sign in

* improve error handling at login screen
2020-06-01 14:39:06 -07:00
Ayush Bherwani
46a3f2dd09 fixes broken link to CI script (#452) 2020-06-01 22:37:46 +10:00
John Ryan
395ae8c0bb Add firebase support to web_dashboard (#421)
* add mock data, app state, model classes

* Set up app without ChangeNotifier

* refactor

* add experiments to experimental/

* Add project-agnostic Firebase authentication code

* add sign in button

* add stub firebase API

* add firestore

* refactor code for google_sign_in

* update pubspec.lock

* switch to mocks for non-firebase version

* Add firebase instructions to the README

* fix README

* sign in silently if the user is already signed in

* add json_serializable

* update README

* ignore 'id' field on types

* Implement FirebaseItemApi

* Add build_runner instructions to README

* remove experiments directory

* add EditItemForm

* move types.dart into api.dart

* move mock and firebase configuration into the constructor

* add main_mock entrypoint

* add copyright checks to grinder script

* fix fix-copyright task

* run grind fix-copyright

* add run and generate tasks

* add run tasks to grind script

* add fillWithMockData() fix delete() in mock API

* add edit / new form dialogs

* Add charts that display entries from Firebase

* Add Entries list without editing

* refactor home page

* format

* Add entries page functionality

* Show current day in charts

* cleanup: pubspec.lock, remove type annotation

* Remove _selectedItem from Home page

Add ItemsDropdown
Use ItemsDropdown in NewEntryDialog / NewEntryForm

* rename item-category

* don't wait to show snackbar on delete

* fix circular progress indicator

* Move dialogs into dialogs.dart

* run grind fix-copyright

* remove unused import

* Refactor entry total calculation, add chart_utils library

* fix bug in chart_utils.dart

* convert CategoryChart to a stateless widget

* use a const for number of days in chart

* code review updates

- rename stream -> subscribe
- timeStamp -> timestamp
- remove latest() from API
- use FutureBuilder and StreamBuilder instead of stateful widget
- rename variables in mock_service_test.dart

* use a single collection reference in firebase API

* remove reference to stream in mock API

* Use a new type,  _EntriesEvent to improve filtering in mock API

* add analysis_options.yaml and fix (most) issues

* fix avoid_types_on_closure_parameters lint warnings

* use spread operator in dashboard.dart

* handle case where selected item in the category dropdown goes away

* use StreamBuilder + FutureBuilder on Entries page

* rename method

* use fake firebase configuration

* update pubspec.lock

* update README

* Change categories_dropdown to FutureBuilder + StreamBuilder

* Update minSdkVersion in build.gradle

SDK version 16 was failing: "The number of method references in a .dex
file cannot exceed 64K."

* update README

* Use a collection reference in FirebaseEntryApi

Already added to FirebaseCategoryApi

* Invoke onSelected in CategoriesDropdown when necessary

Also, avoid calling onSelected during a build.

* fix misnamed var

* remove unused import

* Use relative imports

* Use extension methods for DateTime utilities

* remove forms.dart

* Make Firebase instructions specific for this sample

* add copyright headers

* fix grammar

* dartfmt

* avoid setState() during build phase in CategoryDropdown

* add empty test to material_theme_builder
2020-05-26 13:14:21 -07:00
Abdullah Deshmukh
b518c322cc [animations] Add widget tests for card_swipe (#442) 2020-05-22 21:34:44 +10:00