of static method
- BuildContext context
The state of the closest ancestor collapsible sheet.
Can be used to expand and collapse the surrounding sheet.
Implementation
static CollapsibleSheetState? of(BuildContext context) =>
context.findAncestorStateOfType<CollapsibleSheetState>();