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

Rewrite #102

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
.packages
.pub/

build/
ios/
android/
**/build/
**/ios/
**/android/
**/web

pubspec.lock
doc/api/
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## 4.0.0
- Added `AutoSizeBuilder`, `SelectableAutoSize`, `AutoSizeTextField` and `AutoSizeGroupBuilder`
- Added `textWidthBasis` and `textHeightBehavior`
- Changed default `wordWrap` to `false`
- Improved performance
- Fixed intrinsics handling
- Fixed `wordWrap` calculation for rich text

## 3.0.0
- Upgraded to null safety

Expand Down
42 changes: 2 additions & 40 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,46 +1,8 @@
include: package:pedantic/analysis_options.yaml
include: package:flutter_lints/flutter.yaml

analyzer:
exclude:
- "**/*.g.dart"
strong-mode:
implicit-casts: false
implicit-dynamic: false
errors:
todo: error
include_file_not_found: ignore
linter:
rules:
- avoid_function_literals_in_foreach_calls
- avoid_renaming_method_parameters
- avoid_returning_null
- avoid_unused_constructor_parameters
- await_only_futures
- camel_case_types
- cancel_subscriptions
- comment_references
- constant_identifier_names
- control_flow_in_finally
- directives_ordering
- empty_statements
- implementation_imports
- invariant_booleans
- iterable_contains_unrelated_type
- list_remove_unrelated_type
- no_adjacent_strings_in_list
- non_constant_identifier_names
- only_throw_errors
- overridden_fields
- package_api_docs
- package_names
- package_prefixed_library_names
- prefer_final_locals
- prefer_initializing_formals
- prefer_interpolation_to_compose_strings
- prefer_typing_uninitialized_variables
- test_types_in_equals
- throw_in_finally
- unnecessary_brace_in_string_interps
- unnecessary_getters_setters
- unnecessary_lambdas
- unnecessary_statements
implicit-dynamic: false
1 change: 0 additions & 1 deletion demo/.gitignore

This file was deleted.

29 changes: 29 additions & 0 deletions demo/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This file configures the analyzer, which statically analyzes Dart code to
# check for errors, warnings, and lints.
#
# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
# invoked from the command line by running `flutter analyze`.

# The following line activates a set of recommended lints for Flutter apps,
# packages, and plugins designed to encourage good coding practices.
include: package:flutter_lints/flutter.yaml

linter:
# The lint rules applied to this project can be customized in the
# section below to disable rules from the `package:flutter_lints/flutter.yaml`
# included above or to enable additional rules. A list of all available lints
# and their documentation is published at
# https://dart-lang.github.io/linter/lints/index.html.
#
# Instead of disabling a lint rule for the entire project in the
# section below, it can also be suppressed for a single line of code
# or a specific dart file by using the `// ignore: name_of_lint` and
# `// ignore_for_file: name_of_lint` syntax on the line or in the file
# producing the lint.
rules:
# avoid_print: false # Uncomment to disable the `avoid_print` rule
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule

# Additional information about this file can be found at
# https://dart.dev/guides/language/analysis-options
10 changes: 0 additions & 10 deletions demo/android/.gitignore

This file was deleted.

38 changes: 0 additions & 38 deletions demo/android/app/build.gradle

This file was deleted.

27 changes: 0 additions & 27 deletions demo/android/app/src/main/AndroidManifest.xml

This file was deleted.

This file was deleted.

Binary file not shown.
12 changes: 0 additions & 12 deletions demo/android/app/src/main/res/drawable/launch_background.xml

This file was deleted.

6 changes: 0 additions & 6 deletions demo/android/app/src/main/res/values/styles.xml

This file was deleted.

29 changes: 0 additions & 29 deletions demo/android/build.gradle

This file was deleted.

1 change: 0 additions & 1 deletion demo/android/gradle.properties

This file was deleted.

Binary file removed demo/android/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
6 changes: 0 additions & 6 deletions demo/android/gradle/wrapper/gradle-wrapper.properties

This file was deleted.

Loading