of static method

Implementation

static ErrorMessageBoxStyle of(BuildContext context) => Provider.of(context);