BannerWidget class
author xjl description date 2019/7/16 17:29 modify
Constructors
-
BannerWidget(List<
BannerItem> data, { int duration: 2000, double height: 200.0, Color selectedColor: Colors.red, Color unSelectedColor: Colors.white, OnBannerItemClick onBannerItemClick, CustomBuild build, Color descriptionBackgroundColor: const Color(0x33000000), InfoDirect textInfoDirect: InfoDirect.HORIZONTAL, double circleRadius: 5.0, IndicatorStyle indicatorStyle: IndicatorStyle.CIRCLE, double ellipticalWidth: 16.0, double ellipticalHeight: 8.0, double cornerRadius: 10.0 })
Properties
- build → CustomBuild
-
final
- circleRadius → double
-
final
- cornerRadius → double
-
elliptical indicator cornerRadius
final
-
data
→ List<
BannerItem> -
final
- descriptionBackgroundColor → Color
-
text background color
final
- duration → int
-
final
- ellipticalHeight → double
-
elliptical indicator height
final
- ellipticalWidth → double
-
elliptical indicator width
final
- height → double
-
final
- indicatorStyle → IndicatorStyle
-
final
- onBannerItemClick → OnBannerItemClick
-
final
- selectedColor → Color
-
final
- textInfoDirect → InfoDirect
-
final
- unSelectedColor → Color
-
final
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- key → Key
-
Controls how one widget replaces another widget in the tree. [...]
final, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
createState(
) → _BannerWidgetState - Creates the mutable state for this widget at a given location in the tree. [...]
-
createElement(
) → StatefulElement -
Creates a
StatefulElement
to manage this widget's location in the tree. [...]inherited -
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of
DiagnosticsNode
objects describing this node's children. [...]@protected, inherited -
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node. [...]
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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.debug }) → String -
Returns 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 ==(
dynamic other) → bool -
The equality operator. [...]
inherited