Does anyone know a way of setting values for the
OutlineButton in the material theme.
I’m having trouble specially with the
border width and with the
border highlight color.
ButtonTheme you can specify a shape, which I use to change the corners, but the property
side: in the
RoundedRectangleBorder doesn’t have any effect.
buttonTheme: const ButtonThemeData( shape: const RoundedRectangleBorder( borderRadius: const BorderRadius.all(Radius.circular(5)), side: const BorderSide(color: Colors.white, width: 2), ), ),
I know how to change it in the
OutlineButton widget, I need to change it in the theme so I don’t have to specify it everywhere.
Thanks in advance