of static method

DesingSystem of(
  1. BuildContext context
)

Implementation

static DesingSystem of(BuildContext context) {
  final Desing? result = context.dependOnInheritedWidgetOfExactType<Desing>();
  assert(result != null, 'No DesingSystem found in context');
  return result!.desingSystem;
}