Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Major refactor and clean up #142

Merged
merged 72 commits into from
Nov 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
22c3bad
Updates to mix builders
leoafarias Sep 13, 2023
8b021ca
Clean up and adjustments
leoafarias Sep 29, 2023
f4e5cab
Linting fixes
leoafarias Sep 29, 2023
ee50fa6
Further linting
leoafarias Sep 29, 2023
e04c667
Rules
leoafarias Sep 29, 2023
fe0122b
More linting
leoafarias Sep 29, 2023
2203a0b
Lint
leoafarias Sep 29, 2023
69d62ff
further linting
leoafarias Sep 30, 2023
27c6815
Fix tests
leoafarias Oct 6, 2023
31b7803
Organize extensions and refactor context_variants
leoafarias Oct 6, 2023
16c19a7
Improvements
leoafarias Oct 6, 2023
32753f1
Simplified attributes
leoafarias Oct 6, 2023
d3ea1e9
wip
leoafarias Oct 6, 2023
74ef752
wip
leoafarias Oct 7, 2023
215407b
wip
leoafarias Oct 7, 2023
559ef1d
wip
leoafarias Oct 7, 2023
8d80825
wip
leoafarias Oct 7, 2023
0688954
wip
leoafarias Oct 7, 2023
dcd5ef8
wip
leoafarias Oct 8, 2023
e597f2c
Clean up
leoafarias Oct 8, 2023
99d8fd6
Clean up
leoafarias Oct 19, 2023
d46f525
wip
leoafarias Oct 19, 2023
88a6389
wip
leoafarias Oct 21, 2023
a7f9af6
wip
leoafarias Oct 21, 2023
f62a998
wip
leoafarias Oct 21, 2023
6573c38
Rename file script
leoafarias Oct 21, 2023
83f7d8b
File renamed
leoafarias Oct 21, 2023
3944466
Tests
leoafarias Oct 21, 2023
9d8504d
Improvements
leoafarias Oct 21, 2023
83d91a4
wip
leoafarias Oct 21, 2023
3b3eb67
wip
leoafarias Oct 23, 2023
3fd079e
wip
leoafarias Oct 23, 2023
3020400
wip
leoafarias Oct 26, 2023
511ad94
wip
leoafarias Oct 27, 2023
beb7d66
wip
leoafarias Oct 27, 2023
b27c25f
wip
leoafarias Oct 27, 2023
b5bf590
wip
leoafarias Oct 27, 2023
aa56b8d
wip
leoafarias Oct 27, 2023
1fcd0ca
wip
leoafarias Oct 30, 2023
869e902
wip
leoafarias Oct 30, 2023
15c228f
wip
leoafarias Oct 31, 2023
e84549f
wip
leoafarias Oct 31, 2023
7794e4e
wip
leoafarias Oct 31, 2023
e5f9217
clean up
leoafarias Nov 1, 2023
2b13317
wip
leoafarias Nov 1, 2023
052eff1
tests
leoafarias Nov 2, 2023
039eb7d
wip
leoafarias Nov 3, 2023
2640476
wip
leoafarias Nov 3, 2023
3892e99
wip
leoafarias Nov 3, 2023
ff5f184
Equality fixes
leoafarias Nov 4, 2023
c787c34
100% test coverage of StyleMix factory!
leoafarias Nov 4, 2023
47ca4d6
more tests
leoafarias Nov 4, 2023
0bba306
Test coverage for MixData
leoafarias Nov 5, 2023
1b4ad42
wip
leoafarias Nov 5, 2023
7ea830a
tests
leoafarias Nov 5, 2023
4214ed4
More tests
leoafarias Nov 6, 2023
8a653eb
MOre tests
leoafarias Nov 6, 2023
9113ea8
wip
leoafarias Nov 7, 2023
c7c8d8d
fix
leoafarias Nov 7, 2023
e6ae8d1
wip
leoafarias Nov 7, 2023
df51b1e
wip
leoafarias Nov 7, 2023
dbd55e1
MOre tests
leoafarias Nov 7, 2023
f38fdbb
Improvements
leoafarias Nov 8, 2023
e44380f
more tests
leoafarias Nov 8, 2023
986dead
More tests
leoafarias Nov 9, 2023
5ae311e
More tests and clean up
leoafarias Nov 10, 2023
44dc64a
clean up
leoafarias Nov 10, 2023
06736ae
more tests
leoafarias Nov 10, 2023
200cd27
Improvements
leoafarias Nov 11, 2023
785cbb5
wip
leoafarias Nov 12, 2023
a5ed7bf
clean up
leoafarias Nov 12, 2023
d40753a
Finished initial tests
leoafarias Nov 13, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Empty file added .cursorignore
Empty file.
4 changes: 0 additions & 4 deletions .fvm/fvm_config.json

This file was deleted.

3 changes: 3 additions & 0 deletions .fvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"flutter": "stable"
}
7 changes: 4 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ doc/
*.iws
.idea/


# FVM
.fvm/flutter_sdk

# The .vscode folder contains launch configuration and tasks you configure in
# VS Code which you may wish to be included in version control, so this line
Expand Down Expand Up @@ -83,4 +81,7 @@ yarn.lock
node_modules

# FVM
.fvm/flutter_sdk

# FVM Version Cache
.fvm/
**/**.context.md
42 changes: 32 additions & 10 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,37 @@
{
"dart.flutterSdkPath": ".fvm/flutter_sdk",
// Remove .fvm files from search
"editor.codeActionsOnSave": {
"source.organizeImports": true,
"source.fixAll": true,
"source.dcm.fixAll": true
},
"dart.flutterSdkPath": ".fvm/versions/stable",
"search.exclude": {
"**/.fvm": true
"**/.fvm/versions": true
},
// Remove from file watching
"files.watcherExclude": {
"**/.fvm": true
"**/.fvm/versions": true
},
"editor.codeActionsOnSave": {
"source.organizeImports": true,
"source.fixAll": true
}
}
"files.exclude": {
"**/.fvm/versions": true
},
"workbench.colorCustomizations": {
"activityBar.activeBackground": "#0a1a34",
"activityBar.background": "#0a1a34",
"activityBar.foreground": "#e7e7e7",
"activityBar.inactiveForeground": "#e7e7e799",
"activityBarBadge.background": "#a01f50",
"activityBarBadge.foreground": "#e7e7e7",
"commandCenter.border": "#e7e7e799",
"sash.hoverBorder": "#0a1a34",
"statusBar.background": "#02050a",
"statusBar.foreground": "#e7e7e7",
"statusBarItem.hoverBackground": "#0a1a34",
"statusBarItem.remoteBackground": "#02050a",
"statusBarItem.remoteForeground": "#e7e7e7",
"titleBar.activeBackground": "#02050a",
"titleBar.activeForeground": "#e7e7e7",
"titleBar.inactiveBackground": "#02050a99",
"titleBar.inactiveForeground": "#e7e7e799"
},
"peacock.color": "#02050a"
}
72 changes: 55 additions & 17 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# Defines a default set of lint rules enforced for
# projects at Google. For details and rationale,
# see https://github.com/dart-lang/pedantic#enabled-lints.

include: package:flutter_lints/flutter.yaml

# For lint rules and documentation, see http://dart-lang.github.io/linter/lints.
Expand All @@ -11,23 +9,63 @@ linter:
prefer_relative_imports: true

analyzer:
plugins:
- dart_code_metrics
exclude:
- "**/*.g.dart"
- "**/*.freezed.dart"



dart_code_metrics:
metrics:
cyclomatic-complexity: 20
number-of-parameters: 4
maximum-nesting-level: 5
extends:
- package:dart_code_metrics_presets/all.yaml
metrics-exclude:
- test/**
rules-exclude:
- "test/**"
rules:
- newline-before-return
- no-boolean-literal-compare
- no-empty-block
- prefer-trailing-comma
- no-equal-then-else
prefer-match-file-name: false
prefer-single-widget-per-file: false
parameters-ordering: false
arguments-ordering:
child-last: true
avoid-dynamic: false
prefer-getter-over-method: false
enum-constants-ordering: false
prefer-widget-private-members: false
prefer-static-class: false
avoid-late-keyword: false
avoid-barrel-files: false
avoid-declaring-call-method: false
avoid-long-parameter-list: false
avoid-recursive-calls: false
no-magic-number: false
avoid-ignoring-return-values: false
prefer-commenting-analyzer-ignores: false
prefer-correct-identifier-length: false
avoid-unsafe-collection-methods: false
avoid-similar-names: false
format-comment: false
no-equal-arguments: false
prefer_initializing_formals: false
avoid-nested-conditional-expressions:
acceptable-level: 3
member-ordering:
order:
- public-fields
- private-fields
- constructors
- static-methods
- public-getters
- private-getters
- public-setters
- private-setters
- public-methods
- private-methods
- overridden-public-methods
- overridden-public-getters
- build-method
prefer-named-boolean-parameters:
ignore-single: true


anti-patterns:
- long-method
- long-parameter-list

6 changes: 0 additions & 6 deletions benchmarks/.gitignore

This file was deleted.

45 changes: 0 additions & 45 deletions benchmarks/.metadata

This file was deleted.

3 changes: 0 additions & 3 deletions benchmarks/CHANGELOG.md

This file was deleted.

11 changes: 0 additions & 11 deletions benchmarks/README.md

This file was deleted.

30 changes: 0 additions & 30 deletions benchmarks/analysis_options.yaml

This file was deleted.

13 changes: 0 additions & 13 deletions benchmarks/android/.gitignore

This file was deleted.

71 changes: 0 additions & 71 deletions benchmarks/android/app/build.gradle

This file was deleted.

8 changes: 0 additions & 8 deletions benchmarks/android/app/src/debug/AndroidManifest.xml

This file was deleted.

34 changes: 0 additions & 34 deletions benchmarks/android/app/src/main/AndroidManifest.xml

This file was deleted.

Loading
Loading