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