mirror of
https://github.com/Iconica-Development/flutter_input_library.git
synced 2025-05-18 17:03:45 +02:00
feat: add obscureText property to plain input
This commit is contained in:
parent
88a77b1263
commit
57a0240007
3 changed files with 8 additions and 2 deletions
|
@ -53,4 +53,7 @@
|
|||
* Addition of `style` parameter to `FlutterFormInputPassword` widget.
|
||||
|
||||
## 2.6.0
|
||||
* Addition of the `textCapitalization` parameter to `FlutterFormInputPlainText` and `FlutterFormInputMultiLine`.
|
||||
* Addition of the `textCapitalization` parameter to `FlutterFormInputPlainText` and `FlutterFormInputMultiLine`.
|
||||
|
||||
## 2.6.1
|
||||
* Addition of 'obscureText' parameter to 'FlutterFormInputPlainText'
|
|
@ -26,6 +26,7 @@ class FlutterFormInputPlainText extends StatelessWidget {
|
|||
this.formatInputs,
|
||||
this.enabled = true,
|
||||
this.textCapitalization = TextCapitalization.none,
|
||||
this.obscureText = false,
|
||||
}) : super(
|
||||
key: key,
|
||||
);
|
||||
|
@ -48,6 +49,7 @@ class FlutterFormInputPlainText extends StatelessWidget {
|
|||
final List<TextInputFormatter>? formatInputs;
|
||||
final bool enabled;
|
||||
final TextCapitalization textCapitalization;
|
||||
final bool obscureText;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
|
@ -74,6 +76,7 @@ class FlutterFormInputPlainText extends StatelessWidget {
|
|||
keyboardType: keyboardType,
|
||||
enabled: enabled,
|
||||
textCapitalization: textCapitalization,
|
||||
obscureText: obscureText,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
name: flutter_input_library
|
||||
description: A new Flutter package project.
|
||||
version: 2.6.0
|
||||
version: 2.6.1
|
||||
repository: https://github.com/Iconica-Development/flutter_input_library
|
||||
|
||||
environment:
|
||||
|
|
Loading…
Reference in a new issue