AceStockMetricController class

股票指标控制器

Inheritance
Mixed-in types

Constructors

AceStockMetricController.new({double? maxScale, bool useVOLMA = false, bool useMACD = false, bool useKdj = false, bool useAverage = false, List<int> rsiDays = const [1, 6, 12], List<int> maDays = const [5, 10, 20, 30], double pointWidth = 1, double? pointSpace, double paddingRight = 0, void onScrollBoundary(ScrollBoundary boundary)?, required int maxLength})

Properties

average double?
getter/setter pairinherited
catchController CatchController
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
hasListeners bool
Whether any listeners are currently registered.
no setterinherited
lastScrollBoundary ScrollBoundary?
getter/setter pairinherited
maDays List<int>
final
maxLength int
finalinherited
maxScale double?
finalinherited
onScrollBoundary → void Function(ScrollBoundary boundary)?
finalinherited
paddingRight double
finalinherited
pointSpace double?
getter/setter pairinherited
pointWidth double
finalinherited
rsiDays List<int>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
useAverage bool
final
useKdj bool
final
useMACD bool
final
useVOLMA bool
final
values List<AceEntity>
finalinherited

Methods

addAll(List<AceEntity> vals) → void
override
addListener(VoidCallback listener) → void
Register a closure to be called when the object changes.
inherited
addValue(AceEntity value) → void
override
attach(AceState<AceWidget, dynamic> s) → void
inherited
calculateAverage() → void
inherited
calculateMACD() → void
inherited
calculateMaDays(List<int> days) → void
inherited
calculateSpace() → void
inherited
calculateVolumeMA() → void
inherited
clear() → void
override
clearAverage() → void
inherited
clearMACD() → void
inherited
clearMaDays() → void
inherited
clearVolumeMA() → void
inherited
didUpdateWidget() → void
inherited
dispose() → void
Discards any resources used by the object. After this is called, the object is not in a usable state and should be discarded (calls to addListener will throw after the object is disposed).
inherited
fallbackAverage(int index, double newClose) → void
inherited
fallbackMACD(int index) → void
inherited
fallbackMaDays(int index) → void
inherited
fallbackVolumeMA(int index) → void
inherited
getLastScale() double
inherited
getMinScale() double
inherited
getMinScrollX() double
inherited
getPressOffset() Offset?
inherited
getScale() double
inherited
getScrollX() double
inherited
getSpace() double
inherited
initBoundary() → void
inherited
isKChart() bool
inherited
metric() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyChanged() → void
inherited
notifyListeners() → void
Call all the registered listeners.
inherited
onHorizontalDragCancel() → void
inherited
onHorizontalDragEnd() → void
inherited
onHorizontalDragUpdate(DragUpdateDetails details) → void
inherited
onScaleEnd(ScaleEndDetails details) → void
inherited
onScaleStart(ScaleStartDetails details) → void
inherited
onScaleUpdate(ScaleUpdateDetails details) → void
inherited
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that are notified when the object changes.
inherited
replace(int index, AceEntity val) → void
override
replaceAll(List<AceEntity> vals) → void
override
reset() → void
inherited
setInnerWidth(double width) → void
inherited
setScrollX(double x) → void
inherited
sumTotalWidth() → void
inherited
testMostRightNotifyChanged(void next()) → void
inherited
toString() String
A string representation of this object.
inherited
updatePressOffset(Offset? offset, [bool isLong = false]) → void
inherited

Operators

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