NesTheme class
Class with general theme information for Flutter Nes.
- Inheritance
-
- Object
- ThemeExtension<
NesTheme> - NesTheme
- Annotations
Constructors
- NesTheme({required int pixelSize, MouseCursor clickCursor = SystemMouseCursors.click, MouseCursor resizeLeftRightCursor = SystemMouseCursors.resizeLeftRight, MouseCursor resizeUpDownCursor = SystemMouseCursors.resizeUpDown, MouseCursor moveCursor = SystemMouseCursors.move, MouseCursor resizeUpLeftDownRightCursor = SystemMouseCursors.resizeUpLeftDownRight, MouseCursor resizeUpRightDownLeftCursor = SystemMouseCursors.resizeUpRightDownLeft, MouseCursor resizeUpCursor = SystemMouseCursors.resizeUp, MouseCursor resizeDownCursor = SystemMouseCursors.resizeDown, MouseCursor resizeLeftCursor = SystemMouseCursors.resizeLeft, MouseCursor resizeRightCursor = SystemMouseCursors.resizeRight, MouseCursor basicCursor = SystemMouseCursors.basic})
-
Class with general theme information for Flutter Nes.
const
Properties
- basicCursor → MouseCursor
-
When provided, the cursor used when hovering over a widget.
final
- clickCursor → MouseCursor
-
When provided, the cursor used when hovering over a button
or anything that is clickable.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- moveCursor → MouseCursor
-
When provided, the cursor used when hovering over a moveable widget.
final
- pixelSize → int
-
The size of a pixel unit used in Flutter nes, like the width
of a border of a button.
final
- resizeDownCursor → MouseCursor
-
When provided, the cursor used when hovering over the bottom side.
final
- resizeLeftCursor → MouseCursor
-
When provided, the cursor used when hovering over the left side.
final
- resizeLeftRightCursor → MouseCursor
-
When provided, the cursor used when hovering over a resize corner
final
- resizeRightCursor → MouseCursor
-
When provided, the cursor used when hovering over the right side.
final
- resizeUpCursor → MouseCursor
-
When provided, the cursor used when hovering over the up side.
final
- resizeUpDownCursor → MouseCursor
-
When provided, the cursor used when hovering over a resize corner
final
- resizeUpLeftDownRightCursor → MouseCursor
-
When provided, the cursor used when hovering over a resize corner
final
- resizeUpRightDownLeftCursor → MouseCursor
-
When provided, the cursor used when hovering over a resize corner
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → Object
-
The extension's type.
no setterinherited
Methods
-
copyWith(
{int? pixelSize, MouseCursor? clickCursor, MouseCursor? resizeLeftRightCursor, MouseCursor? resizeUpDownCursor, MouseCursor? moveCursor, MouseCursor? resizeUpLeftDownRightCursor, MouseCursor? resizeUpRightDownLeftCursor, MouseCursor? resizeUpCursor, MouseCursor? resizeDownCursor, MouseCursor? resizeLeftCursor, MouseCursor? resizeRightCursor, MouseCursor? basicCursor}) → NesTheme -
Creates a copy of this theme extension with the given fields
replaced by the non-null parameter values.
override
-
lerp(
covariant ThemeExtension< NesTheme> ? other, double t) → ThemeExtension<NesTheme> -
Linearly interpolate with another ThemeExtension object.
override
-
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