inputDecoration static method
Implementation
static InputDecoration inputDecoration({
String? label,
String? hint,
Widget? icon,
bool filled = true,
}) =>
InputDecoration(
hintStyle: TextStyle(color: AppColors.textColor),
suffixIcon: icon,
suffixStyle: TextStyle(color: AppColors.textColor),
prefixStyle: TextStyle(color: AppColors.textColor),
filled: filled,
fillColor: AppColors.mainColor,
labelText: label,
hintText: hint,
border: const GradientOutlineInputBorder(
borderRadius: BorderRadius.all(Radius.circular(20)),
));