primary property

bool primary
final

Whether this app bar is being displayed at the top of the screen.

If true, the app bar's toolbar elements and bottom widget will be padded on top by the height of the system status bar. The layout of the flexibleSpace is not affected by the primary property.

This property is used to configure an AppBar.

Implementation

final bool primary;