MySelectorStyle constructor

MySelectorStyle({
  1. double maxHeight = 360,
  2. double? panelWidth,
  3. double borderRadius = 14,
  4. double blurSigma = 28,
  5. Color selectedColor = const Color(0xFF4F6BFE),
  6. double shadowOpacity = 0.12,
  7. Color hoverColor = defaultHoverColor,
})

Implementation

MySelectorStyle({
  double maxHeight = 360,
  double? panelWidth,
  double borderRadius = 14,
  double blurSigma = 28,
  this.selectedColor = const Color(0xFF4F6BFE),
  this.shadowOpacity = 0.12,
  this.hoverColor = defaultHoverColor,
})  : maxHeight = maxHeight.h,
      panelWidth = panelWidth?.w,
      borderRadius = borderRadius.r,
      blurSigma = blurSigma.r;