diff --git a/CHANGELOG.md b/CHANGELOG.md index 295b36c..2725f98 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,6 @@ ## 7.2.0 + +* Upgraded pinput to 5.0.1 from 2.3.0 * Updated flutter_iconica_analysis to 7.0.0 with new rules ## 7.1.3 diff --git a/example/pubspec.lock b/example/pubspec.lock index 1c85346..d1ab254 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -68,17 +68,12 @@ packages: path: ".." relative: true source: path - version: "7.1.3" + version: "7.2.0" flutter_test: dependency: "direct dev" description: flutter source: sdk version: "0.0.0" - flutter_web_plugins: - dependency: transitive - description: flutter - source: sdk - version: "0.0.0" leak_tracker: dependency: transitive description: @@ -147,23 +142,15 @@ packages: dependency: transitive description: name: pinput - sha256: "543da5bfdefd9e06914a12100f8c9156f84cef3efc14bca507c49e966c5b813b" + sha256: "8a73be426a91fefec90a7f130763ca39772d547e92f19a827cf4aa02e323d35a" url: "https://pub.dev" source: hosted - version: "2.3.0" + version: "5.0.1" sky_engine: dependency: transitive description: flutter source: sdk version: "0.0.99" - smart_auth: - dependency: transitive - description: - name: smart_auth - sha256: a25229b38c02f733d0a4e98d941b42bed91a976cb589e934895e60ccfa674cf6 - url: "https://pub.dev" - source: hosted - version: "1.1.1" source_span: dependency: transitive description: diff --git a/lib/src/widgets/mfa_widget.dart b/lib/src/widgets/mfa_widget.dart index ba43074..1308ce1 100644 --- a/lib/src/widgets/mfa_widget.dart +++ b/lib/src/widgets/mfa_widget.dart @@ -106,7 +106,11 @@ class _MFAWidgetState extends State { followingPinTheme: widget.followingPinTheme, disabledPinTheme: widget.disabledPinTheme, errorPinTheme: widget.errorPinTheme, - separatorPositions: widget.seperatorPositions, + separatorBuilder: (index) { + var seperatorSize = + widget.seperatorPositions?[index].toDouble() ?? 8.0; + return SizedBox(width: seperatorSize); + }, errorBuilder: widget.errorBuilder, errorText: widget.errorText, errorTextStyle: widget.errorTextStyle, diff --git a/pubspec.yaml b/pubspec.yaml index b75914d..4465171 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -11,7 +11,7 @@ environment: dependencies: flutter: sdk: flutter - pinput: ^2.2.31 + pinput: ^5.0.1 dev_dependencies: flutter_test: