mainContentSliversBuilder property
Use this method to dynamically build the list of sliver widgets within the modal sheet based on the available BuildContext. This approach is more flexible and recommended for most use cases.
Implementation
final List<Widget> Function(BuildContext context) mainContentSliversBuilder;