FadedHorizontalList class
FadedHorizontalList , this widget used for display a list of your widgets with the blurred image in the first item.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- FadedHorizontalList
Constructors
-
FadedHorizontalList({Key? key, required List<
Widget> children, required Widget imageWidget, double borderRadius = 16.0, bool isDisabledGlow = false, ScrollPhysics scrollPhysics = const ScrollPhysics(), required double blankSpaceWidth, Widget? headerWidget, required Color bodyColor, Color? headerColor, double minOpacityOnImage = 0.2}) -
const
Properties
- blankSpaceWidth → double
-
blankSpaceWidth , this property used for blank space on first item of content widget list .
final
- bodyColor → Color
-
bodyColor , this property used for background of scrollable-widget .
final
- borderRadius → double
-
borderRadius , this property used for borderRadius of header-widget and main widget (FadedHorizontalList) .
final
-
children
→ List<
Widget> -
children , this widget list used as content and will be scrolled .
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- headerColor → Color?
-
headerColor , this property used for background of header widget .
final
- headerWidget → Widget?
-
headerWidget , this property used for some time user want to used customized header-widget .
final
- imageWidget → Widget
-
imageWidget , this widget used as background (like image , image network , cachedImage , svg & ETC)
final
- isDisabledGlow → bool
-
isDisabledGlow , if this property set on true,then hidden glow by scrolling .
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- minOpacityOnImage → double
-
minOpacityOnImage , this property must set on double number between 0.0 and 1.0 , this property used for minimum opacity on imageWidget .
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollPhysics → ScrollPhysics
-
scrollPhysics , this property used for change scroll mode to bounced like iOS or default in android & etc .
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< FadedHorizontalList> -
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