Update textfield_raw.dart

This commit is contained in:
Ankit Mahato
2025-04-06 03:38:42 +05:30
parent e7461e19ae
commit 7b0887613d

View File

@@ -7,6 +7,7 @@ class ADRawTextField extends StatelessWidget {
this.onChanged, this.onChanged,
this.controller, this.controller,
this.hintText, this.hintText,
this.hintTextStyle,
this.style, this.style,
this.readOnly = false, this.readOnly = false,
}); });
@@ -14,6 +15,7 @@ class ADRawTextField extends StatelessWidget {
final void Function(String)? onChanged; final void Function(String)? onChanged;
final TextEditingController? controller; final TextEditingController? controller;
final String? hintText; final String? hintText;
final TextStyle? hintTextStyle;
final TextStyle? style; final TextStyle? style;
final bool readOnly; final bool readOnly;
@@ -28,6 +30,7 @@ class ADRawTextField extends StatelessWidget {
isDense: true, isDense: true,
border: InputBorder.none, border: InputBorder.none,
hintText: hintText, hintText: hintText,
hintStyle: hintTextStyle,
contentPadding: kPv8, contentPadding: kPv8,
), ),
onTapOutside: (PointerDownEvent event) { onTapOutside: (PointerDownEvent event) {