ParalaxContainer class

Flutter Paralax Card

Inheritance

Constructors

ParalaxContainer({Key? key, required String? imageUrl, double? aspectRatio, double? radius, ParalaxType? type = ParalaxType.ASSETS, Widget? widgets = null})

Properties

aspectRatio double?
aspectRatio The aspect ratio to attempt to use. The aspect ratio is expressed as a ratio of width to height. For example, a 16:9 width:height aspect ratio would have a value of 16.0/9.0. default is 16 / 16
final
backgroundImageKey GlobalKey<State<StatefulWidget>>
backgroundImageKey key background image
final
hashCode int
The hash code for this object.
no setterinherited
imageUrl String?
imageUrl url image on server
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
radius double?
radius circle of image in paralax card default is 16
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type ParalaxType?
final int imageType; type image format local image , image network , image svg default value is ParalaxType.ASSETS
final
widgets Widget?
Body Widget
final

Methods

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