defaultInputDecoration function
returns default InputDecoration for AppTextField widget
Implementation
InputDecoration defaultInputDecoration(
{String? hint, String? label, TextStyle? textStyle}) {
return InputDecoration(
labelText: label,
hintText: hint,
hintStyle: textStyle ?? primaryTextStyle(),
labelStyle: textStyle ?? secondaryTextStyle(),
border: OutlineInputBorder(),
alignLabelWithHint: true,
);
}