Colors

red

),

onPressed:

()

},

child:

Text

'OutlineButton with custom shape and border'

),

OutlinedButton

style:

OutlinedButton

styleFrom

shape:

StadiumBorder

(),

side:

BorderSide

width:

color:

Colors

red

),

),

onPressed:

()

},

child:

Text

'OutlinedButton with custom shape and border'

),