ShapeBorder.underlineInput constructor Null safety

  1. @Implements<InputBorder>()
const ShapeBorder.underlineInput(
  1. {@Default(BorderSide()) BorderSide side,
  2. @Default(BorderRadius.only(topLeft: Radius.circular(4.0), topRight: Radius.circular(4.0))) BorderRadius borderRadius}
)

Implementation

@Implements<InputBorder>()
const factory ShapeBorder.underlineInput({
  @Default(BorderSide())
      BorderSide side,
  @Default(BorderRadius.only(
    topLeft: Radius.circular(4.0),
    topRight: Radius.circular(4.0),
  ))
      BorderRadius borderRadius,
}) = UnderlineInputBorder;