Skip to content

Commit

Permalink
Revert 1.9.2 to 2.0.0
Browse files Browse the repository at this point in the history
Re-commit 1.9.2 as version 2.0.0.
  • Loading branch information
sjmcdowall committed Jan 11, 2021
1 parent 8607109 commit d46c337
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 9 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
.pub/

build/
example/.flutter-plugins*
ios/.generated/
ios/Flutter/Generated.xcconfig
ios/Runner/GeneratedPluginRegistrant.*
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2.0.0 - 11-January-2021

-- NOTE!! BREAKING CHANGE! Not major but changed Types for some calls
-- RE-APPLY : 1.9.2 will become 2.0.0

1.9.3 - 10-January-2021

-- REVERT : Reverting back to 1.9.1 as 1.9.3. 1.9.2 will become 2.0.0
Expand Down
2 changes: 1 addition & 1 deletion example/.flutter-plugins-dependencies
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"flutter_keyboard_visibility","path":"/Users/sjm/Development/tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility-4.0.2/","dependencies":[]}],"android":[{"name":"flutter_keyboard_visibility","path":"/Users/sjm/Development/tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility-4.0.2/","dependencies":[]}],"macos":[],"linux":[],"windows":[],"web":[{"name":"flutter_keyboard_visibility_web","path":"/Users/sjm/Development/tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility_web-1.0.1/","dependencies":[]}]},"dependencyGraph":[{"name":"flutter_keyboard_visibility","dependencies":["flutter_keyboard_visibility_web"]},{"name":"flutter_keyboard_visibility_web","dependencies":[]}],"date_created":"2021-01-10 13:19:19.450772","version":"1.22.5"}
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"flutter_keyboard_visibility","path":"/Users/sjm/Development/tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility-4.0.2/","dependencies":[]}],"android":[{"name":"flutter_keyboard_visibility","path":"/Users/sjm/Development/tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility-4.0.2/","dependencies":[]}],"macos":[],"linux":[],"windows":[],"web":[{"name":"flutter_keyboard_visibility_web","path":"/Users/sjm/Development/tools/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_keyboard_visibility_web-1.0.1/","dependencies":[]}]},"dependencyGraph":[{"name":"flutter_keyboard_visibility","dependencies":["flutter_keyboard_visibility_web"]},{"name":"flutter_keyboard_visibility_web","dependencies":[]}],"date_created":"2021-01-11 14:24:04.606602","version":"1.22.5"}
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ packages:
path: ".."
relative: true
source: path
version: "1.9.3"
version: "2.0.0"
flutter_web_plugins:
dependency: transitive
description: flutter
Expand Down
2 changes: 1 addition & 1 deletion lib/cupertino_flutter_typeahead.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1142,7 +1142,7 @@ class CupertinoSuggestionsBoxDecoration {
/// Supply an instance of this class to the [TypeAhead.textFieldConfiguration]
/// property to configure the displayed text field. See [documentation](https://docs.flutter.io/flutter/cupertino/CupertinoTextField-class.html)
/// for more information on properties.
class CupertinoTextFieldConfiguration<T> {
class CupertinoTextFieldConfiguration {
final TextEditingController controller;
final FocusNode focusNode;
final BoxDecoration decoration;
Expand Down
10 changes: 5 additions & 5 deletions lib/flutter_typeahead.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1322,7 +1322,7 @@ class SuggestionsBoxDecoration {

/// Supply an instance of this class to the [TypeAhead.textFieldConfiguration]
/// property to configure the displayed text field
class TextFieldConfiguration<T> {
class TextFieldConfiguration {
/// The decoration to show around the text field.
///
/// Same as [TextField.decoration](https://docs.flutter.io/flutter/material/TextField/decoration.html)
Expand Down Expand Up @@ -1431,13 +1431,13 @@ class TextFieldConfiguration<T> {
/// Called when the text being edited changes.
///
/// Same as [TextField.onChanged](https://docs.flutter.io/flutter/material/TextField/onChanged.html)
final ValueChanged<T> onChanged;
final ValueChanged<String> onChanged;

/// Called when the user indicates that they are done editing the text in the
/// field.
///
/// Same as [TextField.onSubmitted](https://docs.flutter.io/flutter/material/TextField/onSubmitted.html)
final ValueChanged<T> onSubmitted;
final ValueChanged<String> onSubmitted;

/// The color to use when painting the cursor.
///
Expand Down Expand Up @@ -1525,8 +1525,8 @@ class TextFieldConfiguration<T> {
{InputDecoration decoration,
TextStyle style,
TextEditingController controller,
ValueChanged<T> onChanged,
ValueChanged<T> onSubmitted,
ValueChanged<String> onChanged,
ValueChanged<String> onSubmitted,
bool obscureText,
bool maxLengthEnforced,
int maxLength,
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: flutter_typeahead
version: 1.9.3
version: 2.0.0

description: Ahighly customizable typeahead (autocomplete) text input field for Flutter
homepage: https://github.com/AbdulRahmanAlHamali/flutter_typeahead
Expand Down

0 comments on commit d46c337

Please sign in to comment.