Refazynist class

Refazynist is a Refreshable, Lazy and Animated List

Inheritance

Constructors

Refazynist({required RefazynistOnLazy onInit, required RefazynistItemBuilder itemBuilder, required RefazynistRemovedItemBuilder removedItemBuilder, required RefazynistOnLazy onLazy, required RefazynistOnLazy onRefresh, required String sharedPreferencesName, RefazynistEmptyBuilder emptyBuilder = refazynistDefaultErrorBuilder, RefazynistLoaderBuilder loaderBuilder = refazynistDefaultLoaderBuilder, Duration insertDuration = const Duration(milliseconds: 250), Duration removeDuration = const Duration(milliseconds: 250), bool sequentialInsert = false, bool sequentialRemove = false, Key? key})
Creates a Refazynist
const

Properties

emptyBuilder → RefazynistEmptyBuilder
A function that's called builder when list is empty
final
hashCode int
The hash code for this object.
no setterinherited
insertDuration Duration
Duration for animation when item inserted to list
final
itemBuilder → RefazynistItemBuilder
itemBuilder for rendering on Animated List
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
loaderBuilder → RefazynistLoaderBuilder
A function that's called when loader rendering when lazy load required
final
onInit → RefazynistOnLazy
A function that's called when first run
final
onLazy → RefazynistOnLazy
A function that's called when lazy load is required
final
onRefresh → RefazynistOnLazy
A function that's called when swap to refresh
final
removedItemBuilder → RefazynistRemovedItemBuilder
itemBuilder for rendering on Animated List when item removed
final
removeDuration Duration
Duration for animation when item removed from list
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sequentialInsert bool
Used for how to be item inserting, sequential or same-time
final
sequentialRemove bool
Used for how to be item removing, sequential or same-time
final
sharedPreferencesName String
A name that's name for cache. Used for SharedPreferences
final

Methods

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