maybeUseMobileLayoutOf static method

bool? maybeUseMobileLayoutOf(
  1. BuildContext context
)

Implementation

static bool? maybeUseMobileLayoutOf(BuildContext context) {
  return context.dependOnInheritedWidgetOfExactType<ChatContextLayoutOverride>()?.useMobileLayout;
}