getFloatingActionButtonWidget method

FloatingActionButton? getFloatingActionButtonWidget(
  1. Icon ready,
  2. Icon running
)
inherited

Implementation

FloatingActionButton? getFloatingActionButtonWidget(
    Icon ready, Icon running) {
  return currentState == ApplicationState.ready
      ? FloatingActionButton(onPressed: run, child: ready)
      : currentState == ApplicationState.running
          ? FloatingActionButton(onPressed: cancel, child: running)
          : null;
}