of static method

Implementation

static ValueListenable<bool>? of(BuildContext context) {
  final w = context.dependOnInheritedWidgetOfExactType<ChatVisibilityScope>();
  return w?.notifier;
}