childEditPasswordField method
Widget
childEditPasswordField({
- required AFWidgetID wid,
- required String password,
- required bool showPassword,
- required SigninScreenRouteParam parentParam,
- required ValueChanged<
String> onChangedPassword,
Implementation
Widget childEditPasswordField({
required AFWidgetID wid,
required String password,
required bool showPassword,
required SigninScreenRouteParam parentParam,
required ValueChanged<String> onChangedPassword,
}) {
return childMargin(
margin: marginPassword,
child: childTextField(
screenId: context.screenId,
wid: wid,
parentParam: parentParam,
expectedText: password,
style: styleOnPrimary.bodyMedium,
decoration: decorationTextInput(
text: wid,
),
obscureText: !showPassword,
autocorrect: false,
onChanged: onChangedPassword
)
);
}