FutureListBuilder<T> class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- FutureListBuilder
Constructors
-
FutureListBuilder({Key? key, required String url, required HttpMethod httpMethod, Map<
String, String> ? header, Map<String, dynamic> ? body, List<Map> ? dataGetter(Map)?, int? countGetter(Map)?, required T converter(Map<String, dynamic> ), required Widget itemBuilder(T data), Axis scrollDirection = Axis.vertical, Widget shimmerBuilder()?, int shimmerCardsCount = 3, int paginationShimmerCardsCount = 3, Widget? onError(String?)?, void callBack(List<T> )?, bool pagination = false, String skipKey = "skip", String limitKey = "limit", int skip = 0, int limit = 6, int? successStatusCode = 200, required List<String> dataPath, List<String> ? countPath, ScrollPhysics scrollPhysics = const BouncingScrollPhysics()}) -
const
Properties
-
body
→ Map<
String, dynamic> ? -
final
-
callBack
→ void Function(List<
T> )? -
final
-
converter
→ T Function(Map<
String, dynamic> ) -
Converter
final
- countGetter → int? Function(Map)?
-
final
-
countPath
→ List<
String> ? -
final
-
dataGetter
→ List<
Map> ? Function(Map)? -
Response
final
-
dataPath
→ List<
String> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
header
→ Map<
String, String> ? -
final
- httpMethod → HttpMethod
-
final
- itemBuilder → Widget Function(T data)
-
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- limit → int
-
final
- limitKey → String
-
final
- onError → Widget? Function(String?)?
-
Call back..
final
- pagination → bool
-
Pagination
final
- paginationShimmerCardsCount → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollDirection → Axis
-
List attributes
final
- scrollPhysics → ScrollPhysics
-
final
- shimmerBuilder → Widget Function()?
-
Simmer
final
- shimmerCardsCount → int
-
final
- skip → int
-
final
- skipKey → String
-
final
- successStatusCode → int?
-
final
- url → String
-
Futures
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< FutureListBuilder< T> > -
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, 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