CustomPopupTheme constructor
const
CustomPopupTheme({
- Color? backgroundColor,
- CustomPopupPosition position = CustomPopupPosition.relative,
- CustomPopupButtonTheme buttonTheme = const CustomPopupButtonTheme(),
- double width = CustomPopupThemeDefaults.defaultWidth,
- double buttonRadius = CustomPopupThemeDefaults.defaultSmallBorderRadius,
- double borderRadius = CustomPopupThemeDefaults.defaultBorderRadius,
- double itemSpacing = CustomPopupThemeDefaults.defaultSmallSpacing,
- double spacing = CustomPopupThemeDefaults.defaultSpacing,
- 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,
});