CNButtonConfig constructor

const CNButtonConfig({
  1. EdgeInsets? padding,
  2. double? borderRadius,
  3. double? minHeight,
  4. double? imagePadding,
  5. CNImagePlacement imagePlacement = CNImagePlacement.leading,
  6. CNButtonStyle style = CNButtonStyle.glass,
  7. double? width,
  8. bool shrinkWrap = false,
  9. String? glassEffectUnionId,
  10. String? glassEffectId,
  11. bool glassEffectInteractive = true,
})

Implementation

const CNButtonConfig({
  this.padding,
  this.borderRadius,
  this.minHeight,
  this.imagePadding,
  this.imagePlacement = CNImagePlacement.leading,
  this.style = CNButtonStyle.glass,
  this.width,
  this.shrinkWrap = false,
  this.glassEffectUnionId,
  this.glassEffectId,
  this.glassEffectInteractive = true,
});