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

Removed unsupported maxLengthEnforced. #9

Open
wants to merge 2 commits 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
2 changes: 1 addition & 1 deletion example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1

environment:
sdk: ">=2.7.0 <3.0.0"
sdk: ">=2.12.0"

dependencies:
flutter:
Expand Down
2 changes: 0 additions & 2 deletions lib/rich_input.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ class RichInput extends TextField {
int minLines,
bool expands = false,
int maxLength,
bool maxLengthEnforced = true,
void Function(String) onChanged,
void Function() onEditingComplete,
void Function(String) onSubmitted,
Expand Down Expand Up @@ -78,7 +77,6 @@ class RichInput extends TextField {
minLines: minLines,
expands: expands,
maxLength: maxLength,
maxLengthEnforced: maxLengthEnforced,
onChanged: onChanged,
onEditingComplete: onEditingComplete,
onSubmitted: onSubmitted,
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version: 1.2.1
homepage: https://github.com/yungzhu/rich_input

environment:
sdk: ">=2.7.0 <3.0.0"
sdk: ">=2.12.0"

dependencies:
flutter:
Expand Down