CleverPushStoryView class

Inheritance

Constructors

CleverPushStoryView({Key? key, required String widgetId, String? backgroundColor, String? backgroundColorDarkMode, String? textColor, String? textColorDarkMode, Object? storyViewHeightAndroid, Object? storyViewWidthAndroid, int? storyViewHeightiOS, int? storyViewWidthiOS, String? fontFamily, CleverPushVisibility? titleVisibility, CleverPushStoryTitlePosition? titlePosition, int? titleTextSize, int? titleMinTextSize, int? titleMaxTextSize, int? storyIconHeight, int? storyIconHeightPercentage, int? storyIconWidth, double? storyIconCornerRadius, double? storyIconSpace, bool? storyIconShadow, CleverPushVisibility? borderVisibility, double? borderMargin, int? borderWidth, String? borderColor, String? borderColorDarkMode, String? borderColorLoading, String? borderColorLoadingDarkMode, CleverPushVisibility? subStoryUnreadCountVisibility, String? subStoryUnreadCountBackgroundColor, String? subStoryUnreadCountBackgroundColorDarkMode, String? subStoryUnreadCountTextColor, String? subStoryUnreadCountTextColorDarkMode, int? subStoryUnreadCountBadgeHeight, int? subStoryUnreadCountBadgeWidth, int? restrictToItems, CleverPushStoryCloseButtonPosition? closeButtonPosition, CleverPushStorySortToLastIndex? sortToLastIndex, bool? darkModeEnabled, void onOpened(String url)?, bool? storyWidgetShareButtonVisibility, bool? allowAutoRotation, bool? autoTrackShown})
const

Properties

allowAutoRotation bool?
final
autoTrackShown bool?
final
backgroundColor String?
final
backgroundColorDarkMode String?
final
borderColor String?
final
borderColorDarkMode String?
final
borderColorLoading String?
final
borderColorLoadingDarkMode String?
final
borderMargin double?
final
borderVisibility CleverPushVisibility?
final
borderWidth int?
final
closeButtonPosition CleverPushStoryCloseButtonPosition?
final
darkModeEnabled bool?
final
fontFamily String?
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onOpened → void Function(String url)?
final
restrictToItems int?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sortToLastIndex CleverPushStorySortToLastIndex?
final
storyIconCornerRadius double?
final
storyIconHeight int?
final
storyIconHeightPercentage int?
final
storyIconShadow bool?
final
storyIconSpace double?
final
storyIconWidth int?
final
storyViewHeightAndroid Object?
final
storyViewHeightiOS int?
final
storyViewWidthAndroid Object?
final
storyViewWidthiOS int?
final
storyWidgetShareButtonVisibility bool?
final
subStoryUnreadCountBackgroundColor String?
final
subStoryUnreadCountBackgroundColorDarkMode String?
final
subStoryUnreadCountBadgeHeight int?
final
subStoryUnreadCountBadgeWidth int?
final
subStoryUnreadCountTextColor String?
final
subStoryUnreadCountTextColorDarkMode String?
final
subStoryUnreadCountVisibility CleverPushVisibility?
final
textColor String?
final
textColorDarkMode String?
final
titleMaxTextSize int?
final
titleMinTextSize int?
final
titlePosition CleverPushStoryTitlePosition?
final
titleTextSize int?
final
titleVisibility CleverPushVisibility?
final
widgetId String
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → _CleverPushStoryViewState
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited