state static method

ProKitThemeProvider state(
  1. BuildContext context, [
  2. bool listen = false
])

Static method to easily access the state from a BuildContext

Implementation

static ProKitThemeProvider state(BuildContext context, [bool listen = false]) =>
    Provider.of<ProKitThemeProvider>(context, listen: listen);