BuildContextUtils<T> extension

on

Properties

screenSize Size
Corresponds to size attribute of MediaQueryData.
no setter

Methods

maybePop([T? result]) → void
Corresponds to maybePop method of NavigatorState.
pop([T? result]) → void
Corresponds to pop method of NavigatorState.
push<T>(Widget widget, {bool replace = false}) Future<T?>
Corresponds to both push and pushReplacement methods of NavigatorState.
pushNamed<T>(String routeName, {bool replace = false}) Future<T?>
See pushNamed and pushReplacementNamed methods of NavigatorState.