NudgeStories constructor

const NudgeStories({
  1. Key? key,
  2. String? event,
  3. List<Widget>? children,
  4. double horizontalEdgePadding = 0,
  5. double verticalEdgePadding = 0,
  6. double trayHeight = 150,
  7. double itemSpacing = 10,
  8. ThemeData? theme,
  9. bool showText = true,
  10. Color skeletonColor = Colors.grey,
  11. double trayItemWidth = 70,
  12. double trayItemHeight = 70,
  13. List<Color> gradientColors = const [Colors.pink, Colors.purple],
  14. String? fontFamily,
  15. Color? headingLightModeColor,
  16. Color? headingDarkModeColor,
  17. Color? subheadingLightModeColor,
  18. Color? subheadingDarkModeColor,
  19. TrayAlignment? trayVerticalAlignment = TrayAlignment.center,
  20. double? trayItemContentGap,
  21. EdgeInsets? trayItemMargin,
  22. double? trayItemRoundness,
  23. double? headingFontSize,
  24. double? subheadingFontSize,
  25. FontWeight? headingFontWeight,
  26. FontWeight? subheadingFontWeight,
  27. 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);