ZeroTextfieldStyle.fill constructor

ZeroTextfieldStyle.fill({
  1. ZeroTextfieldSize? textfieldSize,
  2. Color? focusedBorderColor,
  3. Color? fillColor,
  4. Color? focusedColor,
})

Implementation

factory ZeroTextfieldStyle.fill(
        {ZeroTextfieldSize? textfieldSize,
        Color? focusedBorderColor,
        Color? fillColor,
        Color? focusedColor}) =>
    ZeroTextfieldStyle(
        inputDecorationType: InputDecorationType.fill,
        textfieldSize: textfieldSize ?? ZeroTextfieldSize.small,
        focusedBorderColor: focusedBorderColor ?? ZeroColors.primary,
        fillColor: fillColor ?? ZeroColors.primary.lighten(0.24),
        focusedColor: focusedBorderColor ?? ZeroColors.primary);