Skip to content

Commit

Permalink
Revert to 1.9.1 as 1.9.3
Browse files Browse the repository at this point in the history
1.9.2 broke backward compatibility and will become 2.0.0 meanwhile make 1.9.3. the old 1.9.1.
  • Loading branch information
sjmcdowall committed Jan 10, 2021
1 parent 1cf133a commit 8607109
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 10 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
@@ -1,4 +1,8 @@
## 1.9.2 - 06-January-2021
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

1.9.2 - 06-January-2021

-- #267 : Remove undeeded typecasts and add String types

Expand Down
2 changes: 1 addition & 1 deletion example/.flutter-plugins-dependencies
@@ -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":"2020-12-03 12:46:43.458090","version":"1.22.4"}
{"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"}
2 changes: 1 addition & 1 deletion example/pubspec.lock
Expand Up @@ -94,7 +94,7 @@ packages:
path: ".."
relative: true
source: path
version: "1.9.1"
version: "1.9.3"
flutter_web_plugins:
dependency: transitive
description: flutter
Expand Down
2 changes: 1 addition & 1 deletion lib/cupertino_flutter_typeahead.dart
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 {
class CupertinoTextFieldConfiguration<T> {
final TextEditingController controller;
final FocusNode focusNode;
final BoxDecoration decoration;
Expand Down
10 changes: 5 additions & 5 deletions lib/flutter_typeahead.dart
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 {
class TextFieldConfiguration<T> {
/// 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 {
/// Called when the text being edited changes.
///
/// Same as [TextField.onChanged](https://docs.flutter.io/flutter/material/TextField/onChanged.html)
final ValueChanged<String> onChanged;
final ValueChanged<T> 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<String> onSubmitted;
final ValueChanged<T> onSubmitted;

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

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

0 comments on commit 8607109

Please sign in to comment.