title method

void title(
  1. String text
)

A caption for the stretch that follows — sugar over film.

s.title('Order a coffee');
await s.tap('Cappuccino');

Implementation

void title(String text) => film.emit(ScenarioTitle(text));