CNButtonDataConfig constructor

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

Creates button data configuration.

Implementation

const CNButtonDataConfig({
  this.width,
  this.style = CNButtonStyle.glass,
  this.padding,
  this.borderRadius,
  this.minHeight,
  this.imagePadding,
  this.imagePlacement,
  this.glassEffectUnionId,
  this.glassEffectId,
  this.glassEffectInteractive = true,
});