ButtonStyle constructor

const ButtonStyle({
  1. required ButtonVariance variance,
  2. ButtonSize size = ButtonSize.normal,
  3. ButtonDensity density = ButtonDensity.normal,
  4. ButtonShape shape = ButtonShape.rectangle,
})

Implementation

const ButtonStyle({
  required this.variance,
  this.size = ButtonSize.normal,
  this.density = ButtonDensity.normal,
  this.shape = ButtonShape.rectangle,
});