MdiConfig constructor
const
MdiConfig({
- bool showKeyInHeader = true,
- double borderRadius = 4.0,
- double headerHeight = 24.0,
- double dragAreaSize = 4.0,
- Color defaultBodyColor = Colors.red,
- Color defaultHeaderColor = Colors.green,
- double defaultWindowMinWidth = 100.0,
- double defaultWindowMinHeight = 100.0,
- double defaultWindowHeight = 100.0,
- double defaultWindowWidth = 100.0,
- double defaultX = 100.0,
- double defaultY = 100.0,
- List<
BoxShadow> windowBoxShadows = const [BoxShadow(color: Color(0x53000000), spreadRadius: 1.8, blurRadius: 2.8)],
Implementation
const MdiConfig(
{this.showKeyInHeader = true,
this.borderRadius = 4.0,
this.headerHeight = 24.0,
this.dragAreaSize = 4.0,
this.defaultBodyColor = Colors.red,
this.defaultHeaderColor = Colors.green,
this.defaultWindowMinWidth = 100.0,
this.defaultWindowMinHeight = 100.0,
this.defaultWindowHeight = 100.0,
this.defaultWindowWidth = 100.0,
this.defaultX = 100.0,
this.defaultY = 100.0,
this.windowBoxShadows = const [
BoxShadow(
color: Color(0x53000000),
spreadRadius: 1.8,
blurRadius: 2.8,
)
]});