DecorationPaletteState class

Annotations
  • @Riverpod(keepAlive: true)

Constructors

DecorationPaletteState()

Properties

hashCode int
The hash code for this object.
no setterinherited
ref → NotifierProviderRef<DecorationPalette>
The Ref from the provider associated with this Notifier.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state DecorationPalette
The value currently exposed by this Notifier.
getter/setter pairinherited
stateOrNull DecorationPalette?
The value currently exposed by this Notifier.
no setterinherited

Methods

addRenderItem(RenderItem<DecorationItem> renderItem) → void
backHistory() → void
build() DecorationPalette
Initialize a Notifier.
changeDeletePosition(String uuid, bool isDeletePosition) → void
initHistoryRenderItem(List<List<RenderItem<DecorationItem>>> initHistoryRenderItem) → void
moveRenderItem(RenderItem<DecorationItem> renderItem) → void
RenderItemの移動
nextHistory() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeRenderItem(String renderItemId) → void
toString() String
A string representation of this object.
inherited
updateRenderItem(RenderItem<DecorationItem> renderItem) → void
DecorationItemの更新
updateShouldNotify(DecorationPalette previous, DecorationPalette next) bool
A method invoked when the state exposed by this Notifier changes. It compares the previous and new value, and return whether listeners should be notified.
inherited

Operators

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