SimpleOverlaySettings constructor

const SimpleOverlaySettings({
  1. double dialogHeight = 200,
  2. Color? dialogBackgroundColor,
  3. EdgeInsets itemsPadding = const EdgeInsets.symmetric(horizontal: 4),
  4. Color selectedItemBackgroundColor = Colors.black38,
  5. Color selectedItemHoverColor = const Color.fromRGBO(224, 224, 224, 1),
  6. TextStyle? selectedItemTextStyle = const TextStyle(color: Colors.black),
  7. TextStyle? unselectedItemTextStyle = const TextStyle(color: Colors.black45),
  8. Color unselectedItemHoverColor = const Color.fromRGBO(245, 245, 245, 1),
  9. Icon dialogDeleteIcon = const Icon(Icons.delete, color: Color.fromRGBO(183, 28, 28, 1), size: 20),
  10. Icon dialogEditIcon = const Icon(Icons.edit, color: Colors.black, size: 20),
  11. Widget? dialogActionWidget,
  12. double separatorHeight = 1,
  13. Duration animationDuration = const Duration(milliseconds: 100),
  14. String addItemHint = 'Criar',
  15. TextStyle? addItemHintStyle,
  16. Widget itemWidgetBuilder(
    1. ValueItem
    )?,
  17. Duration reOpenedScrollDuration = const Duration(seconds: 1),
  18. double offsetHeight = 3,
  19. double offsetWidth = 0,
  20. double aditionalWidgetSpacing = 5,
  21. bool openFullScreen = false,
  22. Color loadingColor = darkGreen,
  23. double loadingSize = 28,
})

Implementation

const SimpleOverlaySettings({
  this.dialogHeight = 200,
  this.dialogBackgroundColor,
  this.itemsPadding = const EdgeInsets.symmetric(horizontal: 4),
  this.selectedItemBackgroundColor = Colors.black38,
  this.selectedItemHoverColor = const Color.fromRGBO(224, 224, 224, 1),
  this.selectedItemTextStyle = const TextStyle(color: Colors.black),
  this.unselectedItemTextStyle = const TextStyle(color: Colors.black45),
  this.unselectedItemHoverColor = const Color.fromRGBO(245, 245, 245, 1),
  this.dialogDeleteIcon = const Icon(
    Icons.delete,
    color: Color.fromRGBO(183, 28, 28, 1),
    size: 20,
  ),
  this.dialogEditIcon = const Icon(
    Icons.edit,
    color: Colors.black,
    size: 20,
  ),
  this.dialogActionWidget,
  this.separatorHeight = 1,
  this.animationDuration = const Duration(milliseconds: 100),
  this.addItemHint = 'Criar',
  this.addItemHintStyle,
  this.itemWidgetBuilder,
  this.reOpenedScrollDuration = const Duration(seconds: 1),
  this.offsetHeight = 3,
  this.offsetWidth = 0,
  this.aditionalWidgetSpacing = 5,
  this.openFullScreen = false,
  this.loadingColor = darkGreen,
  this.loadingSize = 28,
});