read static method

PlayerThemeData? read(
  1. BuildContext context
)

Implementation

static PlayerThemeData? read(BuildContext context) =>
    context.getElementForInheritedWidgetOfExactType<PlayerTheme>()?.widget.asOrNull<PlayerTheme>()?.playerTheme;