defaultSwayzeStyle property

SwayzeStyle defaultSwayzeStyle
latefinal

The default instance of SwayzeStyle.

It defines all due properties with arbitrary values.

Implementation

static late final defaultSwayzeStyle = SwayzeStyle(
  defaultHeaderPalette: const SwayzeHeaderPalette(
    background: Color(0xFFF7F7F7),
    foreground: Color(0xFF6F6F6F),
  ),
  selectedHeaderPalette: const SwayzeHeaderPalette(
    background: Color(0xFFFFC800),
    foreground: Color(0xFF000000),
  ),
  highlightedHeaderPalette: const SwayzeHeaderPalette(
    background: Color(0xFFE1E1E1),
    foreground: Color(0xFF000000),
  ),
  headerSeparatorColor: const Color(0xFFE1E1E1),
  headerTextStyle: const TextStyle(
    fontSize: 12,
  ),
  cellSeparatorColor: const Color(0xFFE1E1E1),
  cellSeparatorStrokeWidth: 1.0,
  defaultCellBackground: const Color(0xFFFFFFFF),
  userSelectionStyle: SelectionStyle.semiTransparent(
    color: Colors.amberAccent,
  ),
  selectionAnimationDuration: kDefaultScrollAnimationDuration,
  inlineEditorShadow: const [
    BoxShadow(
      color: Color(0x33000000),
      blurRadius: 10,
      offset: Offset(2, 2),
    ),
  ],
);