colors property Null safety

_ThemeColors colors

The list of colors available from the theme

Implementation

_ThemeColors get colors => _ThemeColors(
      primary: _primaryColor,
      primaryLight: _primaryColorLight,
      primaryDark: _primaryColorDark,
      accent: _accentColor,
      canvas: _canvasColor,
      shadow: _shadowColor,
      scaffoldBackground: _scaffoldBackgroundColor,
      bottomAppBar: _bottomAppBarColor,
      card: _cardColor,
      divider: _dividerColor,
      focus: _focusColor,
      hover: _hoverColor,
      highlight: _highlightColor,
      splash: _splashColor,
      selectedRow: _selectedRowColor,
      unselectedWidget: _unselectedWidgetColor,
      disabled: _disabledColor,
      button: _buttonColor,
      secondaryHeader: _secondaryHeaderColor,
      background: _backgroundColor,
      dialogBackground: _dialogBackgroundColor,
      indicator: _indicatorColor,
      hint: _hintColor,
      error: _errorColor,
      toggleableActive: _toggleableActiveColor,
      scheme: _colorScheme,
    );