primary property

bool primary
final

Filled with the accent. A sheet has at most one: ScannerActions fills the first primary action and draws the others plain, so your primary button can go before ScannerResult.defaultActions as they are.

Implementation

final bool primary;