core/index
library
Functions
-
generateTheme(BuildContext context, Map<ID, ColorStyleEntity> colorStyles, Map<ID, TextStyleEntity> textStyles, ThemeMode themeMode)
→ ThemeData
-
-
getDeviceType(Size size)
→ DeviceType
-
Returns the
DeviceScreenType
that the application is currently running on
-
getTextStyleFromName(BuildContext context, String textStyleName)
→ TextStyle
-
-
getValueForScreenType<T>({required BuildContext context, required T mobile, T? tablet, T? desktop, T? watch})
→ T
-
Will return one of the values passed in for the device it's running on
-
runWorkflows({required CNode node, required Trigger trigger, required BuildContext context, required int loop, dynamic inputValue})
→ void
-
Typedefs
-
GoogleTextStyle
= TextStyle Function({Paint? background, Color? backgroundColor, Color? color, TextDecoration? decoration, Color? decorationColor, TextDecorationStyle? decorationStyle, double? decorationThickness, double? fontSize, FontStyle? fontStyle, FontWeight? fontWeight, Paint? foreground, double? height, double? letterSpacing, Locale? locale, List<Shadow>? shadows, TextBaseline? textBaseline, TextStyle? textStyle, double? wordSpacing})
-
-
OnComponentPageChange
= void Function(CNode node)?
-
-
OnNodeAddedCallBack
= void Function(CNode node, CNode parent, Offset offset)?
-
-
OnNodeAttributesUpdatedChangedCallBack
= void Function(CNode node, CNode oldNode, bool isUndoRedo)?
-
-
OnNodeChangedCallBack
= void Function(CNode node, UITransformResult rect, DeviceType deviceType)?
-
-
OnNodeFocusedCallBack
= void Function(CNode node, DeviceType device)?
-
-
OnNodeHoveredCallBack
= void Function(CNode node, DeviceType device)?
-
-
OnNodesChangedCallBack
= void Function(Map<CNode, UITransformResult> rectMapNode, DeviceType deviceType)?
-
-
OnNodeUpdated
= void Function(CNode node)?
-
-
OnResizingCallback
= void Function(bool value)?
-
-
OnRightClickCallBack
= void Function(PointerDownEvent e, CNode node)?
-