MdiConfig constructor

const MdiConfig({
  1. bool showKeyInHeader = true,
  2. double borderRadius = 4.0,
  3. double headerHeight = 24.0,
  4. double dragAreaSize = 4.0,
  5. Color defaultBodyColor = Colors.red,
  6. Color defaultHeaderColor = Colors.green,
  7. double defaultWindowMinWidth = 100.0,
  8. double defaultWindowMinHeight = 100.0,
  9. double defaultWindowHeight = 100.0,
  10. double defaultWindowWidth = 100.0,
  11. double defaultX = 100.0,
  12. double defaultY = 100.0,
  13. 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,
      )
    ]});