ModernStyleOptions constructor
const
ModernStyleOptions({ - BoxDecoration? containerDecoration,
- BoxDecoration? hoverDecoration,
- BoxDecoration? activeDecoration,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? margin,
- bool glowEnabled = false,
- double glowIntensity = 0.3,
- Color? glowColor,
- bool neumorphicEnabled = false,
- int neumorphicDepth = 1,
- bool pulseBorderEnabled = false,
- Color? pulseBorderColor,
- bool showSkeleton = false,
- BorderRadius? borderRadius,
- Border? border,
- Color? backgroundColor,
- Gradient? backgroundGradient,
- List<BoxShadow>? shadows,
- Duration? animationDuration,
- Curve? animationCurve,
- bool animationsEnabled = true,
- double disabledOpacity = 0.5,
- Matrix4? transform,
- Clip clipBehavior = Clip.none,
- Widget overlayBuilder(
- BuildContext context,
- Widget child
)?,
- Widget foregroundBuilder(
- BuildContext context
)?,
- Widget backgroundBuilder(
- BuildContext context
)?,
- BoxConstraints? constraints,
- double? minHeight,
- double? minWidth,
- double? maxHeight,
- double? maxWidth,
- double? height,
- double? width,
- AlignmentGeometry? alignment,
- bool adaptiveStyling = true,
- Brightness? brightnessOverride,
- ColorFilter? colorFilter,
- double? blurAmount,
- bool backdropBlurEnabled = false,
- BlendMode? blendMode,
})
Implementation
const ModernStyleOptions({
this.containerDecoration,
this.hoverDecoration,
this.activeDecoration,
this.padding,
this.margin,
this.glowEnabled = false,
this.glowIntensity = 0.3,
this.glowColor,
this.neumorphicEnabled = false,
this.neumorphicDepth = 1,
this.pulseBorderEnabled = false,
this.pulseBorderColor,
this.showSkeleton = false,
this.borderRadius,
this.border,
this.backgroundColor,
this.backgroundGradient,
this.shadows,
this.animationDuration,
this.animationCurve,
this.animationsEnabled = true,
this.disabledOpacity = 0.5,
this.transform,
this.clipBehavior = Clip.none,
this.overlayBuilder,
this.foregroundBuilder,
this.backgroundBuilder,
this.constraints,
this.minHeight,
this.minWidth,
this.maxHeight,
this.maxWidth,
this.height,
this.width,
this.alignment,
this.adaptiveStyling = true,
this.brightnessOverride,
this.colorFilter,
this.blurAmount,
this.backdropBlurEnabled = false,
this.blendMode,
});