You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
samples/experimental/web_dashboard/pubspec.yaml

36 lines
677 B

name: web_dashboard
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
5 years ago
description: A dashboard app sample
version: 1.0.0+1
publish_to: none
3 years ago
environment:
sdk: ^3.2.0
3 years ago
dependencies:
Bump firebase_core, cloud_firestore and firebase_auth (#1485) Bumps [firebase_core](https://github.com/firebase/flutterfire/tree/master/packages/firebase_core), [cloud_firestore](https://github.com/firebase/flutterfire/tree/master/packages/cloud_firestore) and [firebase_auth](https://github.com/firebase/flutterfire/tree/master/packages/firebase_auth). These dependencies needed to be updated together. Updates `firebase_core` from 1.24.0 to 2.0.0 - [Release notes](https://github.com/firebase/flutterfire/releases) - [Changelog](https://github.com/firebase/flutterfire/blob/master/CHANGELOG.md) - [Commits](https://github.com/firebase/flutterfire/commits/firebase_core_web-v2.0.0/packages/firebase_core) Updates `cloud_firestore` from 3.5.1 to 4.0.1 - [Release notes](https://github.com/firebase/flutterfire/releases) - [Changelog](https://github.com/firebase/flutterfire/blob/master/CHANGELOG.md) - [Commits](https://github.com/firebase/flutterfire/commits/cloud_firestore-v4.0.1/packages/cloud_firestore) Updates `firebase_auth` from 3.11.2 to 4.0.1 - [Release notes](https://github.com/firebase/flutterfire/releases) - [Changelog](https://github.com/firebase/flutterfire/blob/master/CHANGELOG.md) - [Commits](https://github.com/firebase/flutterfire/commits/firebase_auth-v4.0.1/packages/firebase_auth) --- updated-dependencies: - dependency-name: firebase_core dependency-type: direct:production update-type: version-update:semver-major - dependency-name: cloud_firestore dependency-type: direct:production update-type: version-update:semver-major - dependency-name: firebase_auth dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
cloud_firestore: ^4.0.1
3 years ago
collection: ^1.16.0
community_charts_flutter: ^1.0.2
cupertino_icons: ^1.0.0
Bump firebase_core, cloud_firestore and firebase_auth (#1485) Bumps [firebase_core](https://github.com/firebase/flutterfire/tree/master/packages/firebase_core), [cloud_firestore](https://github.com/firebase/flutterfire/tree/master/packages/cloud_firestore) and [firebase_auth](https://github.com/firebase/flutterfire/tree/master/packages/firebase_auth). These dependencies needed to be updated together. Updates `firebase_core` from 1.24.0 to 2.0.0 - [Release notes](https://github.com/firebase/flutterfire/releases) - [Changelog](https://github.com/firebase/flutterfire/blob/master/CHANGELOG.md) - [Commits](https://github.com/firebase/flutterfire/commits/firebase_core_web-v2.0.0/packages/firebase_core) Updates `cloud_firestore` from 3.5.1 to 4.0.1 - [Release notes](https://github.com/firebase/flutterfire/releases) - [Changelog](https://github.com/firebase/flutterfire/blob/master/CHANGELOG.md) - [Commits](https://github.com/firebase/flutterfire/commits/cloud_firestore-v4.0.1/packages/cloud_firestore) Updates `firebase_auth` from 3.11.2 to 4.0.1 - [Release notes](https://github.com/firebase/flutterfire/releases) - [Changelog](https://github.com/firebase/flutterfire/blob/master/CHANGELOG.md) - [Commits](https://github.com/firebase/flutterfire/commits/firebase_auth-v4.0.1/packages/firebase_auth) --- updated-dependencies: - dependency-name: firebase_core dependency-type: direct:production update-type: version-update:semver-major - dependency-name: cloud_firestore dependency-type: direct:production update-type: version-update:semver-major - dependency-name: firebase_auth dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
firebase_auth: ^4.0.1
firebase_core: ^2.0.0
3 years ago
flutter:
sdk: flutter
google_sign_in: ^6.0.0
intl: any # Pinned by Flutter SDK version
json_annotation: ^4.5.0
3 years ago
path: ^1.8.1
provider: ^6.0.0
uuid: ^4.0.0
3 years ago
dev_dependencies:
analysis_defaults:
path: ../../analysis_defaults
3 years ago
build_runner: ^2.1.0
flutter_test:
sdk: flutter
grinder: ^0.9.0
3 years ago
json_serializable: ^6.2.0
flutter:
uses-material-design: true