rfw_gen
library
Classes
-
AnimationDefaults
-
Sets default animation duration and curve for descendant widgets.
RFW-only concept with no direct Flutter equivalent.
-
ArgsRef
-
Reference to
args.path in rfwtxt.
-
DataRef
-
Reference to
data.path in rfwtxt.
-
LoopVar
-
Loop variable reference for use inside RfwFor.builder.
-
RfwConcat
-
String concatenation:
["Hello, ", data.name, "!"].
-
RfwEvent
-
Represents
event "name" { key: value, ... }.
-
RfwFor
-
For loop:
...for itemName in items: builder(itemName).
-
RfwGenIssue
-
A single diagnostic issue reported during RFW code generation.
-
RfwHandler
-
RFW event handler helpers for use in @RfwWidget functions.
-
RfwIcon
-
Pre-mapped Material icon codepoints for use with rfw_gen.
-
RfwSetState
-
Represents
set state.field = value.
-
RfwSetStateFromArg
-
Represents
set state.field = args.argName.
-
RfwSwitch
-
Switch expression for widget positions (children, child).
-
RfwSwitchValue<T>
-
Switch expression for value positions (padding, color, etc.).
-
RfwWidget
-
Marks a top-level function as an RFW widget definition.
-
Rotation
-
Rotation transform with implicit animation support.
RFW equivalent of Flutter's
RotatedBox / RotationTransition.
-
Scale
-
Scale transform with implicit animation support.
RFW equivalent of Flutter's
Transform.scale.
-
SizedBoxExpand
-
RFW equivalent of
SizedBox.expand(). Expands child to fill available space.
-
SizedBoxShrink
-
RFW equivalent of
SizedBox.shrink(). Constrains child to 0x0.
-
StateRef
-
Reference to
state.path in rfwtxt.
Exceptions / Errors
-
RfwGenException
-
Exception thrown when RFW code generation encounters one or more issues.