MinimapStyle class

Provide this class to the CodeForge widget to style the minimap.

Constructors

MinimapStyle({double? width, Color? backgroundColor, Color? overlayColor, Color? overlayHoverColor, double? overlayBorderRadius, double fontSize = 2.5, double lineHeight = 3})
const

Properties

backgroundColor → Color?
The background color of the minimap. Defaults to editorForegroundColor.withAlpha(6).
final
fontSize → double
Font size of the mirrored text in the minimap. Defaults to 2.5.
final
hashCode → int
The hash code for this object.
no setterinherited
lineHeight → double
Line height of the mirrored text in the minimap. Defaults to 3.
final
overlayBorderRadius → double?
Border radius of the overlay rectangle.
final
overlayColor → Color?
The color for the position indicator overlay that appears on the minimap. Defaults to editorForegroundColor.withAlpha(30).
final
overlayHoverColor → Color?
The hovering color for the position indicator overlay that appears on the minimap. Defaults to editorForegroundColor.withAlpha(60).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
width → double?
Width of the minimap.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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