ModernStyleOptions constructor

const ModernStyleOptions({
  1. BoxDecoration? containerDecoration,
  2. BoxDecoration? hoverDecoration,
  3. BoxDecoration? activeDecoration,
  4. EdgeInsetsGeometry? padding,
  5. EdgeInsetsGeometry? margin,
  6. bool glowEnabled = false,
  7. double glowIntensity = 0.3,
  8. Color? glowColor,
  9. bool neumorphicEnabled = false,
  10. int neumorphicDepth = 1,
  11. bool pulseBorderEnabled = false,
  12. Color? pulseBorderColor,
  13. bool showSkeleton = false,
  14. BorderRadius? borderRadius,
  15. Border? border,
  16. Color? backgroundColor,
  17. Gradient? backgroundGradient,
  18. List<BoxShadow>? shadows,
  19. Duration? animationDuration,
  20. Curve? animationCurve,
  21. bool animationsEnabled = true,
  22. double disabledOpacity = 0.5,
  23. Matrix4? transform,
  24. Clip clipBehavior = Clip.none,
  25. Widget overlayBuilder(
    1. BuildContext context,
    2. Widget child
    )?,
  26. Widget foregroundBuilder(
    1. BuildContext context
    )?,
  27. Widget backgroundBuilder(
    1. BuildContext context
    )?,
  28. BoxConstraints? constraints,
  29. double? minHeight,
  30. double? minWidth,
  31. double? maxHeight,
  32. double? maxWidth,
  33. double? height,
  34. double? width,
  35. AlignmentGeometry? alignment,
  36. bool adaptiveStyling = true,
  37. Brightness? brightnessOverride,
  38. ColorFilter? colorFilter,
  39. double? blurAmount,
  40. bool backdropBlurEnabled = false,
  41. 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,
});