FTextFieldBorderStyle.inherit constructor

FTextFieldBorderStyle.inherit({
  1. required Color color,
  2. required FStyle style,
})

Creates a FTextFieldBorderStyle that inherits its properties from style.

Implementation

FTextFieldBorderStyle.inherit({
  required Color color,
  required FStyle style,
}) : this(
        color: color,
        width: style.borderWidth,
        radius: style.borderRadius,
      );