maybeOf static method
Retrieves the corners of the nearest enclosing section row, or null when the widget is not inside a grouped section.
Implementation
static BorderRadius? maybeOf(BuildContext context) {
return context
.dependOnInheritedWidgetOfExactType<InheritedGlassSectionRow>()
?.corners;
}