refresh method

void refresh(
  1. BuildContext context
)

Implementation

void refresh(final BuildContext context) {
  if (_check && LegacyTheme.isSmallDevice(context)) {
    _themeData = LegacyTheme.getThemeData(context);
    notifyListeners();
    _check = false;
  }
}