);

return

null

// Defer to the widget's default.

},

),

);

OutlinedButton

style:

outlineButtonStyle

onPressed:

()

},

child:

Text

'Looks like an OutlineButton'

),

To restore the default appearance for buttons throughout an
application, you can configure the new button themes in the
application’s theme:

MaterialApp

theme:

ThemeData

from

colorScheme:

ColorScheme

light

())

copyWith

textButtonTheme:

TextButtonThemeData

style: