gradient property
An optional gradient for the button background.
If not provided, a subtle lighting gradient is automatically generated for filled buttons (solid and tonal) to provide tactile depth.
Implementation
final Gradient? gradient;
An optional gradient for the button background.
If not provided, a subtle lighting gradient is automatically generated for filled buttons (solid and tonal) to provide tactile depth.
final Gradient? gradient;