|
@@ -19,7 +19,6 @@ class RoundedInputField extends StatefulWidget {
|
|
|
final TextStyle style;
|
|
|
final ValueChanged<String>? onChanged;
|
|
|
final Function(String)? onEditingComplete;
|
|
|
- final Function()? onTap;
|
|
|
final String? initialValue;
|
|
|
final EdgeInsets margin;
|
|
|
final EdgeInsets padding;
|
|
@@ -40,7 +39,6 @@ class RoundedInputField extends StatefulWidget {
|
|
|
this.obscureHideIcon,
|
|
|
this.onChanged,
|
|
|
this.onEditingComplete,
|
|
|
- this.onTap,
|
|
|
this.normalBorderColor = Colors.transparent,
|
|
|
this.errorBorderColor = Colors.transparent,
|
|
|
this.focusBorderColor,
|
|
@@ -111,11 +109,6 @@ class _RoundedInputFieldState extends State<RoundedInputField> {
|
|
|
widget.onEditingComplete!(inputText);
|
|
|
}
|
|
|
},
|
|
|
- onTap: () {
|
|
|
- if (widget.onTap != null) {
|
|
|
- widget.onTap!();
|
|
|
- }
|
|
|
- },
|
|
|
cursorColor: widget.cursorColor,
|
|
|
obscureText: obscuteText,
|
|
|
style: widget.style,
|