of static method
Implementation
static DesignGridRowAlignment of(BuildContext context) {
final widget = context.dependOnInheritedWidgetOfExactType<DesignGridDefaultRowAlignment>();
if (widget == null) {
throw Exception('No DesignGridDefaultRowAlignment found in the widget tree.');
}
return widget.alignment;
}