underlineInputBorder static method

UnderlineInputBorder underlineInputBorder({
  1. Color borderColor = Colors.grey,
  2. double borderWidth = 1,
})

Underline border for input fields.

Implementation

static UnderlineInputBorder underlineInputBorder({
  Color borderColor = Colors.grey,
  double borderWidth = 1,
}) {
  return UnderlineInputBorder(
    borderSide: BorderSide(color: borderColor, width: borderWidth),
  );
}