underline property

UnderlineInputBorder get underline

Implementation

UnderlineInputBorder get underline => UnderlineInputBorder(
      borderSide: BorderSide(
        width: width ?? 1,
        color: color ?? Colors.grey.shade500,
        style: style ?? BorderStyle.solid,
      ),
      borderRadius: borderRadius ??
          (radius != null
              ? BorderRadius.all(Radius.circular(radius!))
              : BorderRadius.all(Radius.circular(4))),
    );