Skip to content
This repository was archived by the owner on Jun 11, 2021. It is now read-only.

Commit 8a0ef6f

Browse files
committed
Merge branch 'release/refactor-plugins'
2 parents bd2ea7c + 9aee85c commit 8a0ef6f

File tree

1,814 files changed

+325838
-52182
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,814 files changed

+325838
-52182
lines changed

.gitignore

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Miscellaneous
2+
*.class
3+
*.log
4+
*.pyc
5+
*.swp
6+
.DS_Store
7+
.atom/
8+
.buildlog/
9+
.history
10+
.svn/
11+
12+
# IntelliJ related
13+
*.iml
14+
*.ipr
15+
*.iws
16+
.idea/

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
# Firebase Dart SDK
2+
23
Unofficial Firebase Dart SDK
34

5+
# Available service
46

7+
* Firebase Core
8+
* Firebase Auth
9+
* Cloud Firestore

analysis_options.yaml

Lines changed: 71 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ analyzer:
33
implicit-dynamic: false
44
errors:
55
missing_required_param: error
6-
missing_return: error
6+
missing_return: warning
77
todo: ignore
88
exclude:
99
- '**.g.dart'
@@ -14,73 +14,120 @@ analyzer:
1414

1515
linter:
1616
rules:
17-
# === error rules ===
18-
- avoid_empty_else
19-
- avoid_slow_async_io
20-
- cancel_subscriptions
21-
- control_flow_in_finally
22-
- empty_statements
23-
- hash_and_equals
24-
- iterable_contains_unrelated_type
25-
- list_remove_unrelated_type
26-
- literal_only_boolean_expressions
27-
- no_adjacent_strings_in_list
28-
- no_duplicate_case_values
29-
- test_types_in_equals
30-
- throw_in_finally
31-
- unrelated_type_equality_checks
32-
- valid_regexps
33-
34-
# === style rules ===
3517
- always_declare_return_types
18+
- always_put_control_body_on_new_line
3619
- always_require_non_null_named_parameters
3720
- always_specify_types
3821
- annotate_overrides
3922
- avoid_as
23+
- avoid_bool_literals_in_conditional_expressions
24+
- avoid_classes_with_only_static_members
25+
- avoid_empty_else
26+
- avoid_field_initializers_in_const_classes
27+
- avoid_function_literals_in_foreach_calls
28+
- avoid_implementing_value_types
4029
- avoid_init_to_null
4130
- avoid_null_checks_in_equality_operators
42-
- avoid_positional_boolean_parameters
31+
- avoid_relative_lib_imports
32+
- avoid_renaming_method_parameters
4333
- avoid_return_types_on_setters
34+
- avoid_returning_null_for_future
35+
- avoid_returning_null_for_void
36+
- avoid_shadowing_type_parameters
37+
- avoid_single_cascade_in_expression_statements
38+
- avoid_slow_async_io
39+
- avoid_types_as_parameter_names
40+
- avoid_unused_constructor_parameters
41+
- avoid_void_async
4442
- await_only_futures
4543
- camel_case_types
44+
- cancel_subscriptions
45+
- cascade_invocations
46+
- close_sinks
47+
- constant_identifier_names
48+
- control_flow_in_finally
49+
- curly_braces_in_flow_control_structures
4650
- directives_ordering
4751
- empty_catches
4852
- empty_constructor_bodies
53+
- empty_statements
54+
- file_names
55+
- flutter_style_todos
56+
- hash_and_equals
4957
- implementation_imports
58+
- iterable_contains_unrelated_type
59+
- join_return_with_assignment
5060
- library_names
5161
- library_prefixes
62+
- list_remove_unrelated_type
63+
- no_adjacent_strings_in_list
64+
- no_duplicate_case_values
5265
- non_constant_identifier_names
66+
- null_closures
67+
- one_member_abstracts
68+
- only_throw_errors
5369
- overridden_fields
5470
- package_api_docs
71+
- package_names
5572
- package_prefixed_library_names
5673
- prefer_adjacent_string_concatenation
74+
- prefer_asserts_in_initializer_lists
5775
- prefer_collection_literals
76+
- prefer_conditional_assignment
5877
- prefer_const_constructors
78+
- prefer_const_constructors_in_immutables
79+
- prefer_const_declarations
80+
- prefer_const_literals_to_create_immutables
81+
- prefer_constructors_over_static_methods
5982
- prefer_contains
6083
- prefer_equal_for_default_values
84+
- prefer_final_fields
6185
- prefer_final_locals
86+
- prefer_for_elements_to_map_fromIterable
87+
- prefer_foreach
88+
- prefer_function_declarations_over_variables
89+
- prefer_generic_function_type_aliases
90+
- prefer_if_elements_to_conditional_expressions
91+
- prefer_if_null_operators
6292
- prefer_initializing_formals
93+
- prefer_inlined_adds
6394
- prefer_interpolation_to_compose_strings
6495
- prefer_is_empty
6596
- prefer_is_not_empty
97+
- prefer_iterable_whereType
98+
- prefer_mixin
99+
- prefer_single_quotes
100+
- prefer_spread_collections
101+
- prefer_typing_uninitialized_variables
66102
- prefer_void_to_null
103+
- provide_deprecation_message
67104
- recursive_getters
68105
- slash_for_doc_comments
106+
- sort_child_properties_last
69107
- sort_constructors_first
108+
- sort_pub_dependencies
70109
- sort_unnamed_constructors_first
71-
- super_goes_last
110+
- test_types_in_equals
111+
- throw_in_finally
72112
- type_init_formals
73113
- unawaited_futures
114+
- unnecessary_await_in_return
74115
- unnecessary_brace_in_string_interps
75116
- unnecessary_const
76117
- unnecessary_getters_setters
118+
- unnecessary_lambdas
77119
- unnecessary_new
78120
- unnecessary_null_aware_assignments
79121
- unnecessary_null_in_if_null_operators
122+
- unnecessary_overrides
123+
- unnecessary_parenthesis
80124
- unnecessary_statements
81125
- unnecessary_this
126+
- unrelated_type_equality_checks
127+
- use_full_hex_values_for_flutter_colors
128+
- use_function_type_syntax_for_parameters
82129
- use_rethrow_when_possible
130+
- use_setters_to_change_properties
83131
- use_string_buffers
84-
85-
# === pub rules ===
86-
- package_names
132+
- valid_regexps
133+
- void_checks
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
# Miscellaneous
2+
*.class
3+
*.log
4+
*.pyc
5+
*.swp
6+
.DS_Store
7+
.atom/
8+
.buildlog/
9+
.history
10+
.svn/
11+
12+
# IntelliJ related
13+
*.iml
14+
*.ipr
15+
*.iws
16+
.idea/
17+
18+
# The .vscode folder contains launch configuration and tasks you configure in
19+
# VS Code which you may wish to be included in version control, so this line
20+
# is commented out by default.
21+
#.vscode/
22+
23+
# Flutter/Dart/Pub related
24+
**/doc/api/
25+
.dart_tool/
26+
.flutter-plugins
27+
.flutter-plugins-dependencies
28+
.packages
29+
.pub-cache/
30+
.pub/
31+
build/
32+
33+
# Android related
34+
**/android/**/gradle-wrapper.jar
35+
**/android/.gradle
36+
**/android/captures/
37+
**/android/gradlew
38+
**/android/gradlew.bat
39+
**/android/local.properties
40+
**/android/**/GeneratedPluginRegistrant.java
41+
42+
# iOS/XCode related
43+
**/ios/**/*.mode1v3
44+
**/ios/**/*.mode2v3
45+
**/ios/**/*.moved-aside
46+
**/ios/**/*.pbxuser
47+
**/ios/**/*.perspectivev3
48+
**/ios/**/*sync/
49+
**/ios/**/.sconsign.dblite
50+
**/ios/**/.tags*
51+
**/ios/**/.vagrant/
52+
**/ios/**/DerivedData/
53+
**/ios/**/Icon?
54+
**/ios/**/Pods/
55+
**/ios/**/.symlinks/
56+
**/ios/**/profile
57+
**/ios/**/xcuserdata
58+
**/ios/.generated/
59+
**/ios/Flutter/App.framework
60+
**/ios/Flutter/Flutter.framework
61+
**/ios/Flutter/Flutter.podspec
62+
**/ios/Flutter/Generated.xcconfig
63+
**/ios/Flutter/app.flx
64+
**/ios/Flutter/app.zip
65+
**/ios/Flutter/flutter_assets/
66+
**/ios/Flutter/flutter_export_environment.sh
67+
**/ios/ServiceDefinitions.json
68+
**/ios/Runner/GeneratedPluginRegistrant.*
69+
70+
# Exceptions to above rules.
71+
!**/ios/**/default.mode1v3
72+
!**/ios/**/default.mode2v3
73+
!**/ios/**/default.pbxuser
74+
!**/ios/**/default.perspectivev3
75+
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# This file tracks properties of this Flutter project.
2+
# Used by Flutter tool to assess capabilities and perform upgrades etc.
3+
#
4+
# This file should be version controlled and should not be manually edited.
5+
6+
version:
7+
revision: 8f7327f83a3e094285163ae402c6f94190fc1674
8+
channel: dev
9+
10+
project_type: package
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## [0.0.1] - TODO: Add release date.
2+
3+
* TODO: Describe initial release.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# cloud_firestore_dart
2+
3+
Dart implementation of cloud_firestore using cloud_firestore_vm
4+
5+
## Getting Started
6+
7+
This project is a starting point for a Dart
8+
[package](https://flutter.dev/developing-packages/),
9+
a library module containing code that can be shared easily across
10+
multiple Flutter or Dart projects.
11+
12+
For help getting started with Flutter, view our
13+
[online documentation](https://flutter.dev/docs), which offers tutorials,
14+
samples, guidance on mobile development, and a full API reference.
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Miscellaneous
2+
*.class
3+
*.log
4+
*.pyc
5+
*.swp
6+
.DS_Store
7+
.atom/
8+
.buildlog/
9+
.history
10+
.svn/
11+
12+
# IntelliJ related
13+
*.iml
14+
*.ipr
15+
*.iws
16+
.idea/
17+
18+
# The .vscode folder contains launch configuration and tasks you configure in
19+
# VS Code which you may wish to be included in version control, so this line
20+
# is commented out by default.
21+
#.vscode/
22+
23+
# Flutter/Dart/Pub related
24+
**/doc/api/
25+
.dart_tool/
26+
.flutter-plugins
27+
.flutter-plugins-dependencies
28+
.packages
29+
.pub-cache/
30+
.pub/
31+
/build/
32+
33+
# Web related
34+
lib/generated_plugin_registrant.dart
35+
36+
# Symbolication related
37+
app.*.symbols
38+
39+
# Obfuscation related
40+
app.*.map.json
41+
42+
# Exceptions to above rules.
43+
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# This file tracks properties of this Flutter project.
2+
# Used by Flutter tool to assess capabilities and perform upgrades etc.
3+
#
4+
# This file should be version controlled and should not be manually edited.
5+
6+
version:
7+
revision: 8f7327f83a3e094285163ae402c6f94190fc1674
8+
channel: dev
9+
10+
project_type: app
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# cloud_firestore_dart_example
2+
3+
Example app for cloud_firestore_dart
4+
5+
## Getting Started
6+
7+
This project is a starting point for a Flutter application.
8+
9+
A few resources to get you started if this is your first Flutter project:
10+
11+
- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab)
12+
- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)
13+
14+
For help getting started with Flutter, view our
15+
[online documentation](https://flutter.dev/docs), which offers tutorials,
16+
samples, guidance on mobile development, and a full API reference.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
gradle-wrapper.jar
2+
/.gradle
3+
/captures/
4+
/gradlew
5+
/gradlew.bat
6+
/local.properties
7+
GeneratedPluginRegistrant.java

0 commit comments

Comments
 (0)