CustomPopupTheme constructor

const CustomPopupTheme({
  1. Color? backgroundColor,
  2. CustomPopupPosition position = CustomPopupPosition.relative,
  3. CustomPopupButtonTheme buttonTheme = const CustomPopupButtonTheme(),
  4. double width = CustomPopupThemeDefaults.defaultWidth,
  5. double buttonRadius = CustomPopupThemeDefaults.defaultSmallBorderRadius,
  6. double borderRadius = CustomPopupThemeDefaults.defaultBorderRadius,
  7. double itemSpacing = CustomPopupThemeDefaults.defaultSmallSpacing,
  8. double spacing = CustomPopupThemeDefaults.defaultSpacing,
  9. double buttonPadding = CustomPopupThemeDefaults.defaultSmallSpacing,
})

Implementation

const CustomPopupTheme({
  this.backgroundColor,
  this.position = CustomPopupPosition.relative,
  this.buttonTheme = const CustomPopupButtonTheme(),
  this.width = CustomPopupThemeDefaults.defaultWidth,
  this.buttonRadius = CustomPopupThemeDefaults.defaultSmallBorderRadius,
  this.borderRadius = CustomPopupThemeDefaults.defaultBorderRadius,
  this.itemSpacing = CustomPopupThemeDefaults.defaultSmallSpacing,
  this.spacing = CustomPopupThemeDefaults.defaultSpacing,
  this.buttonPadding = CustomPopupThemeDefaults.defaultSmallSpacing,
});