maybeOf static method

IconParkProps? maybeOf(
  1. BuildContext context
)

Implementation

static IconParkProps? maybeOf(BuildContext context) {
  final def =
      context.dependOnInheritedWidgetOfExactType<DefaultIconParkProps>();
  return def?.props;
}