forSliver property

bool forSliver
final

Whether the widget is intended to be used within a Sliver context. If true, a SliverToBoxAdapter will wrap the SizedBox when hidden.

Implementation

final bool forSliver;