setActionBuiler method

void setActionBuiler(
  1. List<Widget> builder(
    1. BuildContext
    )
)

Sets the action builder of the screen.

Actions are displayed at the top of the screen and placed inside a Stack.

Implementation

void setActionBuiler(List<Widget> Function(BuildContext) builder) {
  WidgetsBinding.instance.addPostFrameCallback(
    (_) => setState(() {
      _actionBuilder = builder;
    }),
  );
}