myBorderTheme function

InputBorder myBorderTheme(
  1. Color? color,
  2. double width
)

Boder Decoration for the TextField.

Implementation

InputBorder myBorderTheme(Color? color, double width) => OutlineInputBorder(
      borderRadius: BorderRadius.circular(10),
      borderSide: BorderSide(
        color: color ?? Colors.black,
        width: width,
      ),
    );