base library

Classes

CodeTreeNode
Controller
ControllerManager
ControllerTreeNode
ForeachTreeNode
IfTreeNode
MetaObject
元数据
MetaObjectData
元数据定义
MetaObjectDataWrapper
MetaObjectWrapper
RegistryTreeNodeFactory
TreeNode
TreeNodeFactory

Functions

buildTreeNode(MetaObject context, ControllerManager controllerManager, TreeNode node) Object
buildTreeNodes(MetaObject context, ControllerManager controllerManager, List<TreeNode> nodes) List<Object>
evaluateExpression(MetaObject context, String expression) → dynamic
evaluateLiteralExpression(MetaObject context, String expression) → dynamic
hexToColor(String code) Color
将字符串转换为颜色 code: 颜色代码 return: 返回flutter的颜色
parseAlignment(MetaObject context, Alignment defaultvalue, TreeNode node, String property) Alignment
parseBool(MetaObject context, bool defaultvalue, TreeNode node, String property) bool
parseColor(MetaObject context, Color defaultvalue, TreeNode node, String property) Color
parseDouble(MetaObject context, double defaultvalue, TreeNode node, String property) double
parseEnumProperty<T>(MetaObject context, Iterable<T> enumvalues, T defaultvalue, TreeNode node, String property) → T
parseInt(MetaObject context, int defaultvalue, TreeNode node, String property) int
parseObject(MetaObject context, Object defaultvalue, TreeNode node, String property) Object
parsePadding(MetaObject context, EdgeInsets defaultvalue, TreeNode node, String property) → dynamic
parseString(MetaObject context, String defaultvalue, TreeNode node, String property) String