LightBox class

Inheritance

Constructors

This is the lightBox widget which is used to display the image as diaporama with controls

Properties

blur double
Gives the value of the Gaussian blur
final
closeIcon IconData
Icon to close the lightbox
final
closeIconColor Color
Close icon color
final
closeText String
Close text to be display
final
closeTextColor Color
Close text color
final
hashCode int
The hash code for this object.
no setterinherited
images List<String>
Array of images that will be display by the lightbox
final
imageType ImageType
This parameter indicates wheter the images parameters are urls,bytes or assets By default it has value is ImageType.URL
final
initialIndex int
Gives the initial index of the Lightbox By default it has the value zero
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
nextIcon IconData
Next Icon
final
nextIconColor Color
Next Icon color
final
nextText String
Next button text
final
nextTextColor Color
Next button text color
final
prevIcon IconData
Previous Icon
final
prevIconColor Color
Previous Icon color
final
prevText String
Previous button text
final
prevTextColor Color
Previous button text color
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → _LightBoxState
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