BuildContextX extension
Useful methods for build contexts.
- on
Methods
-
maybePop(
) → Future< bool> -
Available on BuildContext, provided by the BuildContextX extension
Maybe popthisBuildContext from the Navigator. -
pauseRandomTaskBuilderAndPushWidget(
WidgetBuilder builder) → Future< void> -
Available on BuildContext, provided by the BuildContextX extension
Pause and resume a RandomTasks while pushing a widgetbuilder. -
pauseTickingBuilderAndPushWidget(
WidgetBuilder builder) → Future< void> -
Available on BuildContext, provided by the BuildContextX extension
Pause and resume a Ticking while pushing a widgetbuilder. -
pop(
) → void -
Available on BuildContext, provided by the BuildContextX extension
PopthisBuildContext from the Navigator. -
pushWidgetBuilder(
WidgetBuilder builder) → Future< void> -
Available on BuildContext, provided by the BuildContextX extension
Push a widgetbuilder. -
showConfirmMessage(
{String title = 'Confirm', String message = 'Are you sure?', VoidCallback? yesCallback, VoidCallback? noCallback, String yesLabel = 'Yes', String noLabel = 'No'}) → Future< void> -
Available on BuildContext, provided by the BuildContextX extension
Show a confirmmessage. -
showMessage(
{required String message, String title = 'Error', String buttonLabel = 'OK'}) → Future< void> -
Available on BuildContext, provided by the BuildContextX extension
Show a message with an OK button.