theme property

ThemeData get theme

give access to Theme.of(context)

Implementation

ThemeData get theme {
  var _theme = ThemeData.fallback();
  if (context != null) {
    _theme = Theme.of(context!);
  }
  return _theme;
}