FlutterInstagramStories class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- FlutterInstagramStories
Constructors
- FlutterInstagramStories({required String collectionDbName, bool lastIconHighlight = false, Color lastIconHighlightColor = Colors.deepOrange, Radius lastIconHighlightRadius = const Radius.circular(15.0), double? iconWidth, double? iconHeight, bool showTitleOnIcon = true, TextStyle? iconTextStyle, BoxDecoration? iconBoxDecoration, BorderRadiusGeometry iconImageBorderRadius = const BorderRadius.all(Radius.circular(15.0)), EdgeInsets textInIconPadding = const EdgeInsets.only(left: 8.0, right: 8.0, bottom: 8.0), int imageStoryDuration = 5, Color backgroundColorBetweenStories = Colors.black, Icon? closeButtonIcon, Color? closeButtonBackgroundColor, bool sortingOrderDesc = true, VoidCallback? backFromStories, ProgressPosition progressPosition = ProgressPosition.top, bool repeat = true, bool inline = false, String languageCode = 'en'})
Properties
- backFromStories → VoidCallback?
-
callback to get data that stories screen was opened
final
- backgroundColorBetweenStories → Color
-
background color between stories
final
-
final
-
final
-
caption on image
final
- closeButtonBackgroundColor → Color?
-
final
- closeButtonIcon → Icon?
-
stories close button style
final
- collectionDbName → String
-
the name of the collection in Firestore, more info here https://github.com/awaik/flutter_instagram_stories
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- iconBoxDecoration → BoxDecoration?
-
final
- iconHeight → double?
-
final
- iconImageBorderRadius → BorderRadiusGeometry
-
final
- iconTextStyle → TextStyle?
-
final
- iconWidth → double?
-
preview images settings
final
- imageStoryDuration → int
-
how long story lasts
final
- inline → bool
-
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- languageCode → String
-
final
- lastIconHighlight → bool
-
highlight last icon (story image preview)
final
- lastIconHighlightColor → Color
-
final
- lastIconHighlightRadius → Radius
-
final
- progressPosition → ProgressPosition
-
final
- repeat → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showTitleOnIcon → bool
-
final
- sortingOrderDesc → bool
-
stories sorting order Descending
final
- textInIconPadding → EdgeInsets
-
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → _FlutterInstagramStoriesState -
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}) → 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