CNButtonDataConfig constructor
const
CNButtonDataConfig({
- double? width,
- CNButtonStyle style = CNButtonStyle.glass,
- EdgeInsets? padding,
- double? borderRadius,
- double? minHeight,
- double? imagePadding,
- CNImagePlacement? imagePlacement,
- String? glassEffectUnionId,
- String? glassEffectId,
- 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,
});