shape:

const

RoundedRectangleBorder

borderRadius:

BorderRadius

all

Radius

circular

)),

),

copyWith

side:

MaterialStateProperty

resolveWith

BorderSide

>(

Set

MaterialState

states

if

states

contains

MaterialState

pressed

))

return

BorderSide

color:

Theme

of

context

colorScheme

primary

width:

);

return

null