isDense property

bool isDense
final

Whether the visualization should be dense, i.e., non-scrollable.

By default, this property is false, meaning DartBlockEditor is a scrollable widget. To integrate it in your app, rely for example on a parent CustomScrollView, with DartBlockEditor being wrapped in a SliverFillRemaining. Alternatively, place it in an existing scrollable widget by wrapping it in an Expanded widget. These are only examples.

Set this property to true if you wish to integrate DartBlockEditor in a non-scrollable context, e.g., inside a Column widget.

Implementation

final bool isDense;