AppPresenter class abstract
Constructors
- AppPresenter(BuildContext context, AppContract view, {bool isLoadMore = true})
Properties
- context → BuildContext
-
final
- controller → ScrollController
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isFirst ↔ bool
-
getter/setter pair
- isLoadMore → bool
-
final
- list ↔ List
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textError ↔ String
-
getter/setter pair
- view → AppContract
-
final
Methods
-
deactivate(
) → void -
dispose(
) → void -
hanldeError(
Exception e, {bool showToast = false}) → void -
hideAppBar(
) → void -
hideKeyboard(
) → void -
hideKeyboard1(
) → void -
hideLoading(
) → Future -
init(
) → void -
itemBuild(
BuildContext context, int index) → Widget -
itemBuilder(
BuildContext context, int index) → Widget -
loadData(
) → void -
loadingView(
{double? size}) → Widget -
loadingView2(
{Brightness? brightness}) → Widget -
loadMore(
) → void -
noDataView(
{bool isListView = false, String? title, double? size, Widget? child}) → Widget -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onBack(
) → Future -
onDone(
) → void -
onRefresh(
) → Future -
onTextChanged(
String value) → void -
resetData(
) → void -
scrollToEnd(
) → void -
scrollToTop(
) → void -
showAppBar(
) → void -
showKeyBoard(
FocusNode node) → void -
showLoading(
) → void -
showLoadingPage(
) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited