ButtonStyle.outline constructor

ButtonStyle.outline()

A predefined outline button style.

Displays a transparent button with a visible border and colored text.

Implementation

ButtonStyle.outline()
    : this(
        backgroundColor: 'transparent',
        textStyle: TextStyle(
          color: '#007cba',
          fontWeight: FontWeight.w600,
          fontSize: 16.0,
        ),
        border: BoxBorder(
          color: '#007cba',
          width: 2.0,
        ),
        hoverColor: '#007cba',
      );