diff --git a/example/pubspec.lock b/example/pubspec.lock index 1a7fe01..e221bae 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -45,10 +45,10 @@ packages: dependency: "direct main" description: name: cupertino_icons - sha256: e35129dc44c9118cee2a5603506d823bab99c68393879edb440e0090d07586be + sha256: d57953e10f9f8327ce64a508a355f0b1ec902193f66288e8cb5070e7c47eeb2d url: "https://pub.dev" source: hosted - version: "1.0.5" + version: "1.0.6" fake_async: dependency: transitive description: @@ -67,7 +67,7 @@ packages: description: path: "." ref: "3.0.0" - resolved-ref: "7024fb7e404fbeae0331bfe8f7c115283d0951ce" + resolved-ref: "7d1880b8e348435fc8dc2d3a11f936b224cbd5b7" url: "https://github.com/Iconica-Development/flutter_input_library" source: git version: "3.0.0" @@ -75,10 +75,10 @@ packages: dependency: "direct dev" description: name: flutter_lints - sha256: aeb0b80a8b3709709c9cc496cdc027c5b3216796bc0af0ce1007eaf24464fd4c + sha256: a25a15ebbdfc33ab1cd26c63a6ee519df92338a9c10f122adda92938253bef04 url: "https://pub.dev" source: hosted - version: "2.0.1" + version: "2.0.3" flutter_localizations: dependency: transitive description: flutter @@ -108,10 +108,10 @@ packages: dependency: transitive description: name: lints - sha256: "5cfd6509652ff5e7fe149b6df4859e687fca9048437857cb2e65c8d780f396e3" + sha256: "0a217c6c989d21039f1498c3ed9f3ed71b354e69873f13a8dfc3c9fe76f1b452" url: "https://pub.dev" source: hosted - version: "2.0.0" + version: "2.1.1" matcher: dependency: transitive description: diff --git a/lib/flutter_registration.dart b/lib/flutter_registration.dart index 9e7f910..d599a3c 100644 --- a/lib/flutter_registration.dart +++ b/lib/flutter_registration.dart @@ -12,6 +12,7 @@ export 'src/model/auth_step.dart'; export 'src/model/auth_text_field.dart'; export 'src/model/auth_bool_field.dart'; export 'src/model/auth_drop_down.dart'; +export 'src/model/auth_pass_field.dart'; export 'src/registration_screen.dart'; export 'src/service/registration_repository.dart'; export 'package:flutter_input_library/flutter_input_library.dart' diff --git a/lib/src/config/registration_options.dart b/lib/src/config/registration_options.dart index 51e5eb8..2575df6 100644 --- a/lib/src/config/registration_options.dart +++ b/lib/src/config/registration_options.dart @@ -6,7 +6,6 @@ import 'dart:async'; import 'package:flutter/material.dart'; import 'package:flutter_registration/flutter_registration.dart'; -import 'package:flutter_registration/src/model/auth_pass_field.dart'; class RegistrationOptions { RegistrationOptions({ diff --git a/lib/src/model/auth_pass_field.dart b/lib/src/model/auth_pass_field.dart index 2306199..be6bacc 100644 --- a/lib/src/model/auth_pass_field.dart +++ b/lib/src/model/auth_pass_field.dart @@ -15,11 +15,13 @@ class AuthPassField extends AuthField { super.value = '', this.textStyle, this.onChange, + this.iconSize, this.textFieldDecoration, this.padding = const EdgeInsets.all(8.0), }); final TextStyle? textStyle; + final double? iconSize; final Function(String value)? onChange; final InputDecoration? textFieldDecoration; final EdgeInsets padding; @@ -30,6 +32,7 @@ class AuthPassField extends AuthField { padding: padding, child: FlutterFormInputPassword( style: textStyle, + iconSize: iconSize ?? 24.0, decoration: textFieldDecoration, onChanged: (v) { value = v; diff --git a/pubspec.yaml b/pubspec.yaml index 4af66a0..ca74f93 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -17,7 +17,7 @@ dependencies: flutter_input_library: git: url: https://github.com/Iconica-Development/flutter_input_library - ref: 3.0.0 + ref: 3.0.1 flutter: sdk: flutter