NeonSlidableTimeline class

A publication-ready facade over flutter_slidable for timeline content.

A single operation lock covers every action and full-swipe callback of one row. This prevents duplicate writes when users tap or swipe repeatedly.

Inheritance

Constructors

NeonSlidableTimeline({required Widget child, Key? slidableKey, List<NeonTimelineAction> startActions = const <NeonTimelineAction>[], List<NeonTimelineAction> endActions = const <NeonTimelineAction>[], NeonSlidableMotion motion = NeonSlidableMotion.scroll, double startExtentRatio = 0.28, double endExtentRatio = 0.28, double openThreshold = 0.34, double closeThreshold = 0.22, bool enabled = true, bool closeOnScroll = true, Object? groupTag, BorderRadius borderRadius = const BorderRadius.all(Radius.circular(22)), NeonTimelineDismissCallback? onStartDismissed, NeonTimelineDismissCallback? onEndDismissed, NeonTimelineAsyncErrorCallback? onError, ValueChanged<bool>? onBusyChanged, bool dragDismissible = true, Key? key})
const

Properties

borderRadius → BorderRadius
final
child → Widget
final
closeOnScroll → bool
final
closeThreshold → double
final
dragDismissible → bool
final
enabled → bool
final
endActions → List<NeonTimelineAction>
final
endExtentRatio → double
final
groupTag → Object?
final
hashCode → int
The hash code for this object.
no setterinherited
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
motion → NeonSlidableMotion
final
onBusyChanged → ValueChanged<bool>?
final
onEndDismissed → NeonTimelineDismissCallback?
final
onError → NeonTimelineAsyncErrorCallback?
final
onStartDismissed → NeonTimelineDismissCallback?
final
openThreshold → double
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
slidableKey → Key?
final
startActions → List<NeonTimelineAction>
final
startExtentRatio → double
final

Methods

createElement() → StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → State<NeonSlidableTimeline>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() → List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) → String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String
Returns a one-line detailed description of the object.
inherited
toStringShort() → String
A short, textual description of this widget.
inherited

Operators

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