FlClipData class

Holds data to clipping chart around its borders.

Constructors

FlClipData({required bool top, required bool bottom, required bool left, required bool right})
Creates data that clips specified sides
const
FlClipData.all()
Creates data that clips all sides
const
FlClipData.horizontal()
Creates data that clips only left and right side
const
FlClipData.none()
Creates data that doesn't clip any side
const
FlClipData.vertical()
Creates data that clips only top and bottom side
const

Properties

any bool
Checks whether any of the sides should be clipped
no setter
bottom bool
final
hashCode int
The hash code for this object.
no setterinherited
left bool
final
props List<Object?>
Used for equality check, see EquatableMixin.
no setter
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
top bool
final

Methods

copyWith({bool? top, bool? bottom, bool? left, bool? right}) FlClipData
Copies current FlBorderData to a new FlBorderData, and replaces provided values.
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