AdeptStatelessWidget<T, B> class abstract

Inheritance
Implemented types
Mixed in types

Constructors

AdeptStatelessWidget({Key? key, B? base})

Properties

base → B?
no setter
context BuildContext
no setter
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
lifecycleState LifecycleState?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addLifecycleAware(StreamSubscription? streamSubscription) bool
bodyOnBackPressed({required Widget body}) WillPopScope
build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
check() → void
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
didChangeAccessibilityFeatures() → void
Called when the system changes the set of currently active accessibility features.
inherited
didChangeAppLifecycleState(AppLifecycleState state) → void
Called when the system puts the app in the background or returns the app to the foreground.
override
didChangeLocales(List<Locale>? locales) → void
Called when the system tells the app that the user's locale has changed. For example, if the user changes the system language settings.
inherited
didChangeMetrics() → void
Called when the application's dimensions change. For example, when a phone is rotated.
inherited
didChangePlatformBrightness() → void
Called when the platform brightness changes.
inherited
didChangeTextScaleFactor() → void
Called when the platform's text scale factor changes.
inherited
didHaveMemoryPressure() → void
Called when the system is running low on memory.
inherited
didPopRoute() Future<bool>
Called when the system tells the app to pop the current route, such as after a system back button press or back gesture.
inherited
didPushRoute(String route) Future<bool>
Called when the host tells the application to push a new route onto the navigator.
inherited
didPushRouteInformation(RouteInformation routeInformation) Future<bool>
Called when the host tells the application to push a new RouteInformation and a restoration state onto the router.
inherited
didRequestAppExit() Future<AppExitResponse>
Called when a request is received from the system to exit the application.
inherited
extras() → void
override
getSelectedDrawerItemId() int
override
handleException(dynamic e, {BuildContext? context, String title = 'Error', String btnContinueText = 'CONTINUE', String btnExitText = 'EXIT'}) → void
hideLoading({int? delayMillis}) → void
override
init() → void
override
isPressBackAgain() bool
override
listeners() → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onBackPressed() Future<bool>
override
onBuildCompleted() → void
override
onClick({Widget? w, dynamic id, BuildContext? ctx}) → void
override
onCreated() → void
override
onDestroy() → void
override
onDetached() → void
override
onInactive() → void
override
onItemClick({Widget? w, T? item, int? position, dynamic id, BuildContext? ctx}) → void
override
onItemLongClick({Widget? w, T? item, int? position, dynamic id, BuildContext? ctx}) → void
override
onLongClick({Widget? w, dynamic id, BuildContext? ctx}) → void
override
onPaused() → void
override
onResumed() → void
override
onStopped() → void
override
pop<T extends Object?>({BuildContext? context, T? result}) → void
override
pressBackAgain(bool pressBackAgain, {String pressBackAgainMessage = 'Press back again to exit'}) → void
override
push<T>({BuildContext? context, Route<T>? route, String? routeName, Widget? widget}) Future<T?>?
override
pushReplacement<T, TO>({BuildContext? context, Route<T>? newRoute, String? newRouteName, Widget? newWidget, TO? result}) Future<T?>?
override
removeLifecycleAware(StreamSubscription? streamSubscription) bool
showLoading({String? message, bool showProgressIndeterminate = true, Widget? progressIndicator}) → void
override
showSnackBar(SnackBar snackBar, {SnackBarClosedReason? hideCurrent, BuildContext? context}) ScaffoldFeatureController<SnackBar, SnackBarClosedReason>?
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
validate() bool
override

Operators

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