ListIntervalView class

list 间距

Inheritance

Constructors

ListIntervalView({Key? key, Axis direction = Axis.vertical, num? space, Widget? separator, num height = 0, EdgeInsets? margin, ScrollPhysics? physics, Color? color, bool fullLine = true, bool primary = true, bool shrinkWrap = true, required int? itemCount, required IndexedWidgetBuilder? itemBuilder, num? mainPadding, num? crossPadding, num? cacheExtent, ScrollController? controller, List<int>? fullLineIgnoreOfIndex})
const
ListIntervalView.children({Key? key, Axis direction = Axis.vertical, num? space, Widget? separator, num height = 0, EdgeInsets? margin, ScrollPhysics? physics, Color? color, bool fullLine = true, bool primary = true, bool shrinkWrap = true, required List<Widget>? children, num? mainPadding, num? crossPadding, num? cacheExtent, ScrollController? controller, List<int>? fullLineIgnoreOfIndex})
const
ListIntervalView.nested({Key? key, Axis direction = Axis.vertical, num? space, Widget? separator, num height = 0, EdgeInsets? margin, ScrollPhysics? physics, Color? color, bool fullLine = true, bool primary = false, bool shrinkWrap = true, required int? itemCount, required IndexedWidgetBuilder? itemBuilder, num? mainPadding = 0, num? crossPadding = 0, num? cacheExtent, ScrollController? controller, List<int>? fullLineIgnoreOfIndex})
const

Properties

cacheExtent → num?
final
children → List<Widget>?
final
color → Color?
final
controller → ScrollController?
final
crossPadding → num?
final
direction → Axis
final
fullLine → bool
整行 item 填充宽度
final
fullLineIgnoreOfIndex → List<int>?
忽略的index 适用于 item 带Expanded
final
hashCode → int
The hash code for this object.
no setterinherited
height → num
final
itemBuilder → IndexedWidgetBuilder?
final
itemCount → int?
final
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
mainPadding → num?
final
margin → EdgeInsets?
final
physics → ScrollPhysics?
final
primary → bool
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
separator → Widget?
final
shrinkWrap → bool
final
space → num?
final

Methods

build(BuildContext context) → Widget
Describes the part of the user interface represented by this widget.
override
createElement() → StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
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, int wrapWidth = 65}) → 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