MindMap class

Inheritance

Constructors

MindMap({Key? key})

Properties

hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
moveOffset Offset
Move Offset
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addOnChangedListeners(dynamic value()) → void
Add On Changed Listeners
addOnDoubleTapListeners(dynamic value(IMindMapNode)) → void
Add On Double Tap Listeners
addOnEditListeners(dynamic value(IMindMapNode)) → void
Add On Edit Listeners
addOnMapTypeChangedListener(dynamic listener()) → void
Add listener for map type change
addOnMoveListeners(dynamic callback()) → void
Add On Move Listeners
addOnRootNodeChangeListener(dynamic listener()) → void
Add On Root Node Change Listeners
addOnSelectedNodeChangedListeners(dynamic callback()) → void
Add On Selected Node Changed Listeners
addOnTapListeners(dynamic callback()) → void
Add On Tap Listeners
addOnZoomChangedListeners(dynamic value()) → void
Add On Zoom Changed Listeners
createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
Create Link
createNode(String name) IMindMapNode?
Create Node
createState() State<StatefulWidget>
Creates the mutable state for this widget at a given location in the tree.
override
createTheme(String name) IMindMapTheme?
Create Theme
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
fromJson(Map<String, dynamic> json) → void
Load Data&Style from Json
getBackgroundColor() Color
Background Color
getButtonBackground() Color
Button Background
getButtonColor() Color
Button Color
getButtonWidth() int
Button Width
getCanMove() bool
Can Move
getData() Map<String, dynamic>
Export Data to Json
getDragInBorderColor() Color
Drag In Border Color
getDragInBorderWidth() double
Drag In Border Width
getIsScaling() bool
getLinkAdapter() List<ILinkAdapter>
Get Link Adapter
getMapType() MapType
Map type
getMindMapPadding() double
MindMap Padding
getMoveOffset() Offset
Get Move Offset
getNodeAdapter() List<INodeAdapter>
Get Node Adapter
getOffset() Offset?
Get Offset
getReadOnly() bool
Read Only
getRecycleTitle() String
Recycle Title
getRenderObject() RenderObject?
getRootNode() IMindMapNode
Root Node
getSelectedNode() IMindMapNode?
Selected Node
getShowRecycle() bool
Show Recycle
getShowZoom() bool
Show Zoom
getSize() Size?
Get Size
getTheme() IMindMapTheme?
Theme
getThemeAdapter() List<IThemeAdapter>
Get Theme Adapter
getWatermark() String
WaterMark
getWatermarkColor() Color
WaterMark Color
getWatermarkFontSize() double
WaterMark Font Size
getWatermarkHorizontalInterval() double
WaterMark Horizontal Interval
getWatermarkOpacity() double
WaterMark Opacity
getWatermarkRotationAngle() double
WaterMark Rotation Angle
getWatermarkVerticalInterval() double
WaterMark Vertical Interval
getZoom() double
Zoom
hasEditButton() bool
Display edit button
hasTextField() bool
Display text input box
loadData(Map<String, dynamic> json) → void
Load Data from Json
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifySelectedNodeChanged() → void
Notify Selected Node Changed
onChanged() → void
On Changed
onDoubleTap(IMindMapNode node) → void
On Double Tap
onEdit(IMindMapNode node) → void
On Edit
onMapTypeChanged() → void
Called when the map type changes.
onMove() → void
On Move
onRootNodeChanged() → void
Notify Root Node Changed
onTap() → void
On Tap
refresh() → void
refresh MindMap
registerLinkAdapter(ILinkAdapter value) → void
Register Link Adapter
registerNodeAdapter(INodeAdapter value) → void
Register Node Adapter
registerThemeAdapter(IThemeAdapter value) → void
Register Theme Adapter
removeOnChangedListeners(dynamic value()) → void
Remove On Changed Listeners
removeOnDoubleTapListeners(dynamic value(IMindMapNode)) → void
Remove On Double Tap Listeners
removeOnEditListeners(dynamic value(IMindMapNode)) → void
Remove On Edit Listeners
removeOnMapTypeChangedListener(dynamic listener()) → void
Remove listener for map type change
removeOnMoveListeners(dynamic callback()) → void
Remove On Move Listeners
removeOnRootNodeChangeListener(dynamic listener()) → void
Remove On Root Node Change Listeners
removeOnSelectedNodeChangedListeners(dynamic callback()) → void
Remove On Selected Node Changed Listeners
removeOnTapListeners(dynamic callback()) → void
Remove On Tap Listeners
removeOnZoomChangedListeners(dynamic value()) → void
Remove On Zoom Changed Listeners
setBackgroundColor(Color color) → void
Set Background Color
setButtonBackground(Color value) → void
Set Button Background
setButtonColor(Color value) → void
Set Button Color
setButtonWidth(int value) → void
Set Button Width
setCanMove(bool value) → void
Set Can Move
setDragInBorderColor(Color value) → void
Set Drag In Border Color
setDragInBorderWidth(double value) → void
Set Drag In Border Width
setHasEditButton(bool value) → void
set Has Edit Button
setHasTextField(bool value) → void
Has TextField
setIsScaling(bool value) → void
setMindMap(MapType value) → void
setMindMapPadding(double value) → void
Set MindMap Padding
setMoveOffset(Offset value) → void
Set Move Offset
setOffset(Offset? value) → void
Set Offset
setReadOnly(bool value) → void
Set Read Only
setRecycleTitle(String value) → void
Set Recycle Title
setRootNode(IMindMapNode rootNode) → void
Set Root Node
setSelectedNode(IMindMapNode? node) → void
Set Selected Node
setShowRecycle(bool value) → void
Set Show Recycle
setShowZoom(bool value) → void
Set Show Zoom
setSize(Size? value) → void
Set Size
setTheme(IMindMapTheme? value) → void
Set Theme
setWatermark(String value) → void
Set Watermark
setWatermarkColor(Color value) → void
Set Watermark Color
setWatermarkFontSize(double value) → void
Set Watermark Font Size
setWatermarkHorizontalInterval(double value) → void
Set Watermark Horizontal Interval
setWatermarkOpacity(double value) → void
Set Watermark Opacity
setWatermarkRotationAngle(double value) → void
Set Watermark Rotation Angle
setWatermarkVerticalInterval(double value) → void
Set Watermark Vertical Interval
setZoom(double value) → void
Set Zoom
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toJson() Map<String, dynamic>
Export Data&Style to Json
toPng() Future<Uint8List?>
End Watermark Export to PNG
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited