ViewportScrollPane class final
- Inheritance
-
- Object
- Model
- ViewComponent
- ViewportScrollPane
Constructors
- ViewportScrollPane({required ViewportModel viewport, String separator = ' ', ScrollbarChars chars = const ScrollbarChars()})
Properties
- chars → ScrollbarChars
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- originX ↔ int
-
Screen-space origin (top-left) where this pane is rendered.
getter/setter pair
- originY ↔ int
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- separator → String
-
final
- viewport ↔ ViewportModel
-
getter/setter pair
Methods
-
consumesMouse(
MouseMsg msg) → bool - Returns true when this mouse event should not be treated as a "content" interaction by the parent (e.g. focus changes) because it's intended to scroll/drag the scrollbar.
-
contentLineAtMouse(
MouseMsg msg) → int? -
contentPosAtMouse(
MouseMsg msg) → (int, int)? -
init(
) → Cmd? -
Returns an optional command to execute on program startup.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
Msg msg) → (ViewportScrollPane, Cmd?) -
Updates the component state in response to a message.
override
-
view(
) → String -
Renders the current model state for display.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited