GeneralTheme constructor
const
GeneralTheme({
- bool isDark = true,
- Color backgroundColor = const Color.fromRGBO(41, 43, 53, 1.0),
- Color sidebarColor = const Color.fromRGBO(33, 37, 43, 1.0),
- Color accentColor = const Color.fromARGB(255, 40, 138, 251),
- double spaceBetweenTextBoxesAndButtonRows = 0.5,
- double defaultNumberEditorButtonRowWidth = 64.0,
- 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),
});