GeneralTheme constructor

const GeneralTheme({
  1. bool isDark = true,
  2. Color backgroundColor = const Color.fromRGBO(41, 43, 53, 1.0),
  3. Color sidebarColor = const Color.fromRGBO(33, 37, 43, 1.0),
  4. Color accentColor = const Color.fromARGB(255, 40, 138, 251),
  5. double spaceBetweenTextBoxesAndButtonRows = 0.5,
  6. double defaultNumberEditorButtonRowWidth = 64.0,
  7. Duration scrollIntoViewDuration = const Duration(milliseconds: 250),
})

Creates a “general” theme object.

This theme contains miscellaneous properties that do not fit into the other themes.

Implementation

const GeneralTheme({
  this.isDark = true,
  this.backgroundColor = const Color.fromRGBO(41, 43, 53, 1.0),
  this.sidebarColor = const Color.fromRGBO(33, 37, 43, 1.0),
  this.accentColor = const Color.fromARGB(255, 40, 138, 251),
  this.spaceBetweenTextBoxesAndButtonRows = 0.5,
  this.defaultNumberEditorButtonRowWidth = 64.0,
  this.scrollIntoViewDuration = const Duration(milliseconds: 250),
});