state static method

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

Static method to access the theme provider's state

Implementation

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