feat: keyboard type param

This commit is contained in:
Stein Milder 2022-11-25 15:51:43 +01:00
parent d3adebdfc5
commit daf01b8775

View file

@ -22,6 +22,7 @@ class FlutterFormInputPlainText extends FlutterFormInputWidget<String> {
this.maxLines = 1, this.maxLines = 1,
this.scrollPadding, this.scrollPadding,
this.maxLength, this.maxLength,
this.keyboardType,
}) : super(key: key, controller: controller, label: label); }) : super(key: key, controller: controller, label: label);
final InputDecoration? decoration; final InputDecoration? decoration;
@ -30,6 +31,7 @@ class FlutterFormInputPlainText extends FlutterFormInputWidget<String> {
final int? maxLines; final int? maxLines;
final int? maxLength; final int? maxLength;
final EdgeInsets? scrollPadding; final EdgeInsets? scrollPadding;
final TextInputType? keyboardType;
@override @override
Widget build(BuildContext context, WidgetRef ref) { Widget build(BuildContext context, WidgetRef ref) {
@ -55,6 +57,7 @@ class FlutterFormInputPlainText extends FlutterFormInputWidget<String> {
expands: expands, expands: expands,
maxLines: maxLines, maxLines: maxLines,
maxLength: maxLength, maxLength: maxLength,
keyboardType: keyboardType,
); );
} }
} }