MyBody class
- Inheritance
Constructors
-
MyBody({Key? key, required List<
Widget> ? children, Widget? topWidget, num? padding, int left = 0, int top = 0, int right = 0, num? space, bool bottom = true, bool slide = false, Color? backgroundColor, Decoration? decoration, EasyRefreshController? controller, OnRefreshCallback? refresh, OnLoadCallback? load, bool fullLine = true, bool noList = false, bool? listEx, Header? header, bool topShrink = false, double? cacheExtent}) -
const
- MyBody.child({Key? key, required Widget? child, Widget? topWidget, num? padding, int left = 0, int top = 0, int right = 0, num? space, bool bottom = true, bool slide = false, Color? backgroundColor, Decoration? decoration, EasyRefreshController? controller, OnRefreshCallback? refresh, OnLoadCallback? load, bool fullLine = true, bool noList = true, bool? listEx, Header? header, bool topShrink = false, double? cacheExtent})
-
非list 需自己处理或者
noList
= true;const - MyBody.itemBuilder({Key? key, required int? itemCount, required IndexedWidgetBuilder? itemBuilder, Widget? topWidget, num? padding, int left = 0, int top = 0, int right = 0, num? space, bool bottom = true, bool slide = false, Color? backgroundColor, Decoration? decoration, EasyRefreshController? controller, OnRefreshCallback? refresh, OnLoadCallback? load, bool fullLine = true, bool noList = false, bool? listEx, Header? header, bool topShrink = false, double? cacheExtent})
-
const
Properties
- backgroundColor → Color?
-
final
- bottom → bool
-
final
- cacheExtent → double?
-
final
- child → Widget?
-
final
-
children
→ List<
Widget> ? -
final
- controller → EasyRefreshController?
-
final
- decoration → Decoration?
-
final
-
final
- fullLine → bool
-
整行 item 填充宽度
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- header → Header?
-
final
- itemBuilder → IndexedWidgetBuilder?
-
final
- itemCount → int?
-
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- left → int
-
final
- listEx → bool?
-
是否 ListIntervalView扩展
final
- load → OnLoadCallback?
-
final
- noList → bool
-
final
- padding → num?
-
final
- refresh → OnRefreshCallback?
-
final
- right → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- slide → bool
-
final
- space → num?
-
final
- top → int
-
final
- topShrink → bool
-
top 收缩
final
- topWidget → Widget?
-
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}) → 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