theme property

ThemeData theme

give access to Theme.of(context)

Implementation

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