expand property Null safety

bool expand
final

Whether the widget should expand to fill the available space in its parent or not.

In most cases, this should be true. However, in the case of a parent widget that will position this one based on its desired size (such as a Center), this should be set to false.

The default value is true.

Implementation

final bool expand;