KModal<T> class abstract

Constructors

KModal()

Properties

controller KListController
controller of model
no setter
getKey String?
========================================= the unique key to be found by Get (other name is tag)
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

empty({VoidCallback? retryFunction}) Widget
build an empty widget when datasource is empty. Consider to adapt retryFunction into your widget
listItem({T? data}) Widget
build an list item widget
loading() Widget
build an loading widget to show at first time enter
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
request({int page = 1}) Future<List<T>?>
start request data from internet
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited