Span class
Defines the extent, visual appearance, and gesture handling of a row or column.
A span refers to either a column or a row.
Constructors
-
Span({required SpanExtent extent, SpanPadding? padding, Map<
Type, GestureRecognizerFactory< recognizerFactories = const <Type, GestureRecognizerFactory>{}, PointerEnterEventListener? onEnter, PointerExitEventListener? onExit, MouseCursor cursor = MouseCursor.defer, SpanDecoration? backgroundDecoration, SpanDecoration? foregroundDecoration})GestureRecognizer> > -
Creates a Span.
const
Properties
- backgroundDecoration → SpanDecoration?
-
The SpanDecoration to paint behind the content of this span.
final
- cursor → MouseCursor
-
Mouse cursor to show when the mouse hovers over this span.
final
- extent → SpanExtent
-
Defines the extent of the span.
final
- foregroundDecoration → SpanDecoration?
-
The SpanDecoration to paint in front of the content of this span.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- onEnter → PointerEnterEventListener?
-
Triggers when a mouse pointer, with or without buttons pressed, has
entered the region encompassing the row or column described by this span.
final
- onExit → PointerExitEventListener?
-
Triggered when a mouse pointer, with or without buttons pressed, has
exited the region encompassing the row or column described by this span.
final
- padding → SpanPadding
-
Defines the leading and or trailing extent to pad the row or column by.
final
-
recognizerFactories
→ Map<
Type, GestureRecognizerFactory< GestureRecognizer> > -
Factory for creating GestureRecognizers that want to compete for
gestures within the extent of the span.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{SpanExtent? extent, SpanPadding? padding, Map< Type, GestureRecognizerFactory< ? recognizerFactories, PointerEnterEventListener? onEnter, PointerExitEventListener? onExit, MouseCursor? cursor, SpanDecoration? backgroundDecoration, SpanDecoration? foregroundDecoration}) → SpanGestureRecognizer> > - Create a clone of the current Span but with provided parameters overridden.
-
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