File tree 3 files changed +8
-1
lines changed
3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## 1.0.2
4
+
5
+ - 📖  ;  ; Changed: Adds ` initialValue ` behavior to ` PasswordTextField ` so you can use controlled and uncontrolled fields.
6
+
3
7
## 1.0.1
4
8
5
9
- 📖  ;  ; Changed: Adds ` translucent ` behavior to ` HideKeyboardOnTouchOutside ` so tap events are propagated properly.
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import 'package:flutter/material.dart';
3
3
class PasswordTextField extends StatefulWidget {
4
4
final Key ? key;
5
5
final TextEditingController ? controller;
6
+ final String ? initialValue;
6
7
final InputDecoration ? decoration;
7
8
final String ? Function (String ? )? validator;
8
9
final bool ? enabled;
@@ -18,6 +19,7 @@ class PasswordTextField extends StatefulWidget {
18
19
this .autovalidateMode,
19
20
this .autocorrect = true ,
20
21
this .decoration,
22
+ this .initialValue,
21
23
this .onChanged,
22
24
});
23
25
@@ -51,6 +53,7 @@ class _PasswordTextFieldState extends State<PasswordTextField> {
51
53
autocorrect: widget.autocorrect,
52
54
enabled: widget.enabled,
53
55
decoration: _buildDecoration (),
56
+ initialValue: widget.initialValue,
54
57
onChanged: widget.onChanged,
55
58
);
56
59
}
Original file line number Diff line number Diff line change 1
1
name : widgetkit
2
2
description :
3
3
A kit of widgets that are (almost) always needed in the different apps.
4
- version : 1.0.1
4
+ version : 1.0.2
5
5
homepage : https://github.com/CodingAleCR/widgetkit
6
6
7
7
environment :
You can’t perform that action at this time.
0 commit comments