body method

Widget body(
  1. BuildContext context,
  2. DVStudioSelection selection
)

The section's body, with the selection given to a section that asked for it and dropped for one that did not. The one field a caller reads: which of the two constructors built the section is an implementation detail, not a question anyone has to answer to draw it.

Implementation

Widget body(BuildContext context, DVStudioSelection selection) =>
    build?.call(context, selection) ?? _build!(context);