customOutlineInputBorder static method

dynamic customOutlineInputBorder({
  1. double? borderRadius,
  2. Color color = ThemeColors.grey,
  3. double? width,
  4. BorderStyle style = BorderStyle.solid,
})

Implementation

static customOutlineInputBorder({
  double? borderRadius,
  Color color = ThemeColors.grey,
  double? width,
  BorderStyle style = BorderStyle.solid,
}) {
  return OutlineInputBorder(
    borderRadius: BorderRadius.all(Radius.circular(borderRadius ?? Sizes.RADIUS_12)),
    borderSide: BorderSide(
      color: color,
      width: Sizes.WIDTH_1,
      style: style,
    ),
  );
}