mirror of
https://github.com/foss42/apidash.git
synced 2025-12-04 03:46:57 +08:00
Update textfield_raw.dart
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user