maybeOf static method

TabShellAppBarStyle? maybeOf(
  1. BuildContext context
)

Implementation

static TabShellAppBarStyle? maybeOf(BuildContext context) {
  if (Theme.of(context).extensions.containsKey(TabShellAppBarStyle) ==
      false) {
    return null;
  }
  return Theme.of(context).extension<TabShellAppBarStyle>();
}