NudgeStories constructor
const
NudgeStories({
- Key? key,
- String? event,
- List<
Widget> ? children, - double horizontalEdgePadding = 0,
- double verticalEdgePadding = 0,
- double trayHeight = 150,
- double itemSpacing = 10,
- ThemeData? theme,
- bool showText = true,
- Color skeletonColor = Colors.grey,
- double trayItemWidth = 70,
- double trayItemHeight = 70,
- List<
Color> gradientColors = const [Colors.pink, Colors.purple], - String? fontFamily,
- Color? headingLightModeColor,
- Color? headingDarkModeColor,
- Color? subheadingLightModeColor,
- Color? subheadingDarkModeColor,
- TrayAlignment? trayVerticalAlignment = TrayAlignment.center,
- double? trayItemContentGap,
- EdgeInsets? trayItemMargin,
- double? trayItemRoundness,
- double? headingFontSize,
- double? subheadingFontSize,
- FontWeight? headingFontWeight,
- FontWeight? subheadingFontWeight,
- bool handleCustomDeepLink = false,
Implementation
const NudgeStories({
Key? key,
this.event,
this.children,
this.horizontalEdgePadding = 0,
this.verticalEdgePadding = 0,
this.trayHeight = 150,
this.itemSpacing = 10,
this.theme,
this.showText = true,
this.skeletonColor = Colors.grey,
this.trayItemWidth = 70,
this.trayItemHeight = 70,
this.gradientColors = const [
Colors.pink,
Colors.purple,
],
this.fontFamily,
this.headingLightModeColor,
this.headingDarkModeColor,
this.subheadingLightModeColor,
this.subheadingDarkModeColor,
this.trayVerticalAlignment = TrayAlignment.center,
this.trayItemContentGap,
this.trayItemMargin,
this.trayItemRoundness,
this.headingFontSize,
this.subheadingFontSize,
this.headingFontWeight,
this.subheadingFontWeight,
this.handleCustomDeepLink = false,
}) : super(key: key);