MindMapData constructor

const MindMapData({
  1. required String id,
  2. required String title,
  3. String description = '',
  4. List<MindMapData> children = const [],
  5. Color? color,
  6. Color? textColor,
  7. Color? borderColor,
  8. TextStyle? textStyle,
  9. Size? size,
  10. Map<String, dynamic>? customData,
})

Implementation

const MindMapData({
  required this.id,
  required this.title,
  this.description = '',
  this.children = const [],
  this.color,
  this.textColor,
  this.borderColor,
  this.textStyle,
  this.size,
  this.customData,
});