),

OutlinedButton

style:

ButtonStyle

shape:

MaterialStateProperty

all

OutlinedBorder

>(

StadiumBorder

()),

side:

MaterialStateProperty

resolveWith

BorderSide

>(

Set

MaterialState

states

final

Color

color

states

contains

MaterialState

pressed

Colors

blue

Colors

red

return

BorderSide

color:

color

width:

);

),

),