of static method

Obtains the settings to be used by a details item or one of it's ancestors.

Implementation

static MasterDetailsFlowSettings? of(BuildContext context) {
  final MasterDetailsFlowSettings? result =
      context.dependOnInheritedWidgetOfExactType<MasterDetailsFlowSettings>();
  return result;
}