of static method

The theme in force at context: the nearest ExpressiveTheme's, else the default preset in the platform's brightness. The same as context.expressiveTheme and ExpressiveTheme.of.

Implementation

static ExpressiveThemeData of(BuildContext context) =>
    ExpressiveTheme.of(context);