ShaderTickerLayerState<T extends StatefulWidget> class abstract

Hạ tầng dùng chung cho các layer full-screen chạy 1 FragmentShader (AuroraBgLayer, NeonAuraLayer): load FragmentProgram.fromAsset với try/catch (ẩn hẳn hiệu ứng nếu load lỗi, không crash), throttle ticker repaint xuống ~30fps, và dispose đúng cả ticker lẫn shader.

Subclass chỉ còn phần riêng: asset path, tốc độ theo variant, và painter/uniform-setting logic của chính nó trong build().

Inheritance
Mixed-in types

Constructors

ShaderTickerLayerState()

Properties

context → BuildContext
The location in the tree where this widget builds.
no setterinherited
debugLabel → String
Tên hiển thị trong log lỗi (thường trùng tên class widget).
no setter
effectNoun → String
Danh từ mô tả hiệu ứng trong log lỗi (vd. "aurora", "aura").
no setter
hashCode → int
The hash code for this object.
no setterinherited
mounted → bool
Whether this State object is currently in a tree.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shader → FragmentShader?
no setter
shaderAssetPath → String
Đường dẫn asset shader, ví dụ packages/roy_casual_kit/shaders/foo.frag.
no setter
speedMultiplier → double
Tốc độ animation hiện tại (thường tính theo variant của widget).
no setter
time ↔ double
getter/setter pair
widget → T
The current configuration.
no setterinherited

Methods

activate() → void
Called when this object is reinserted into the tree after having been removed via deactivate.
inherited
build(BuildContext context) → Widget
Describes the part of the user interface represented by this widget.
inherited
createTicker(TickerCallback onTick) → Ticker
Creates a ticker with the given callback.
inherited
deactivate() → void
Called when this object is removed from the tree.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
didChangeDependencies() → void
Called when a dependency of this State object changes.
override
didUpdateWidget(covariant T oldWidget) → void
Called whenever the widget configuration changes.
inherited
dispose() → void
Called when this object is removed from the tree permanently.
override
initState() → void
Called when this object is inserted into the tree.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reassemble() → void
Called whenever the application is reassembled during debugging, for example during hot reload.
inherited
setState(VoidCallback fn) → void
Notify the framework that the internal state of this object has changed.
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
toStringShort() → String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

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