flet
library
Functions
-
alignmentFromJson(Map<String, dynamic>? json, [Alignment? defValue])
→ Alignment?
-
-
animationFromJSON(dynamic json)
→ ImplicitAnimationDetails
-
-
animationStyleFromJSON(dynamic json, [AnimationStyle? defaultValue])
→ AnimationStyle
-
-
arrayIndexOf(Uint8List haystack, Uint8List needle)
→ int
-
-
baseControl(BuildContext context, Widget widget, Control? parent, Control control)
→ Widget
-
-
blurImageFilterFromJSON(dynamic json)
→ ImageFilter?
-
-
borderFromJSON(ThemeData? theme, Map<String, dynamic>? json, [Color? defaultSideColor, Border? defaultBorder])
→ Border?
-
-
borderRadiusFromJSON(dynamic json, [BorderRadius? defaultValue])
→ BorderRadius?
-
-
borderSideFromJSON(ThemeData? theme, dynamic json, [Color? defaultSideColor])
→ BorderSide?
-
-
boxConstraintsFromJSON(dynamic json, [BoxConstraints? defValue])
→ BoxConstraints?
-
-
boxDecorationFromDetails({Color? color, Border? border, BoxShape? shape, BorderRadius? borderRadius, BlendMode? blendMode, List<BoxShadow>? boxShadow, Gradient? gradient, DecorationImage? image})
→ BoxDecoration?
-
-
boxDecorationFromJSON(ThemeData theme, dynamic json, PageArgsModel? pageArgs)
→ BoxDecoration?
-
-
boxShadowFromJSON(ThemeData theme, dynamic json)
→ BoxShadow
-
-
boxShadowsFromJSON(ThemeData theme, dynamic json, [List<BoxShadow>? defValue])
→ List<BoxShadow>?
-
-
buildImage({required BuildContext context, required Control control, required Widget? errorCtrl, required String? src, required String? srcBase64, double? width, double? height, ImageRepeat repeat = ImageRepeat.noRepeat, BoxFit? fit, BlendMode? colorBlendMode, Color? color, String? semanticsLabel, bool? gaplessPlayback, bool excludeFromSemantics = false, FilterQuality filterQuality = FilterQuality.low, bool disabled = false, required PageArgsModel pageArgs})
→ Widget
-
-
buttonStyleFromJSON(ThemeData theme, Map<String, dynamic>? json, [Color? defaultForegroundColor, Color? defaultBackgroundColor, Color? defaultOverlayColor, Color? defaultShadowColor, Color? defaultSurfaceTintColor, double? defaultElevation, EdgeInsets? defaultPadding, BorderSide? defaultBorderSide, OutlinedBorder? defaultShape])
→ ButtonStyle?
-
-
colorFilterFromJSON(dynamic json, ThemeData theme, [ColorFilter? defValue])
→ ColorFilter?
-
-
constrainedControl(BuildContext context, Widget widget, Control? parent, Control control)
→ Widget
-
-
createControl(Control? parent, String id, bool parentDisabled, {Widget? nextChild, bool? parentAdaptive})
→ Widget
-
-
createWidget(Key? key, ControlViewModel controlView, Control? parent, bool parentDisabled, bool? parentAdaptive, Widget? nextChild, FletControlBackend backend)
→ Widget
-
-
dashPath(Path source, {required CircularIntervalList<double> dashArray, DashOffset? dashOffset})
→ Path
-
Came from flutter_path_drawing library.
Creates a new path that is drawn from the segments of
source
.
-
decorationImageFromJSON(ThemeData theme, dynamic json, PageArgsModel? pageArgs)
→ DecorationImage?
-
-
durationFromJSON(dynamic json, [Duration? defaultValue])
→ Duration?
-
-
durationFromString(String? duration, [Duration? defaultValue])
→ Duration?
-
-
edgeInsetsDirectionalFromJson(dynamic json, [EdgeInsetsDirectional? defaultValue])
→ EdgeInsetsDirectional?
-
-
edgeInsetsFromJson(dynamic json, [EdgeInsets? defaultValue])
→ EdgeInsets?
-
-
fixCupertinoTheme(CupertinoThemeData cupertinoTheme, ThemeData theme)
→ CupertinoThemeData
-
-
getAssetSrc(String src, Uri pageUri, String assetsDir)
→ AssetSrc
-
-
getBreakpointNumber(Map<String, double> responsiveNumber, double width, Map<String, double> breakpoints)
→ double
-
-
getFileImageProvider(String path)
→ ImageProvider<Object>
-
-
getFletRouteUrlStrategy()
→ String
-
-
getFontWeight(String? weightName, [FontWeight? defaultWeight])
→ FontWeight?
-
-
getImageProvider(String? src, String? srcBase64, PageArgsModel? pageArgs)
→ ImageProvider<Object>?
-
-
getSvgPictureFromFile({required String src, required double? width, required double? height, required BoxFit fit, required Color? color, required BlendMode blendMode, required String? semanticsLabel})
→ SvgPicture
-
-
getTextStyle(BuildContext context, String styleName)
→ TextStyle?
-
-
getWebsocketEndpointPath(String uriPath)
→ String
-
-
getWidgetStateProperty<T>(dynamic jsonDictValue, T converterFromJson(dynamic), [T? defaultValue])
→ WidgetStateProperty<T?>?
-
-
gradientFromJSON(ThemeData? theme, Map<String, dynamic>? json)
→ Gradient?
-
-
inputFilterFromJSON(dynamic json)
→ FilteringTextInputFormatter?
-
-
isBase64ImageString(String s)
→ bool
-
-
isDesktopPlatform()
→ bool
-
Checks if the current platform is a desktop platform.
-
isFletWebPyodideMode()
→ bool
-
-
isLinuxDesktop()
→ bool
-
Checks if the current platform is Linux desktop.
-
isMacOSDesktop()
→ bool
-
Checks if the current platform is macOS desktop.
-
isMobilePlatform()
→ bool
-
Checks if the current platform is a mobile (iOS or Android) platform.
-
isProgressiveWebApp()
→ bool
-
-
isUrlOrPath(String s)
→ bool
-
-
isWebPlatform()
→ bool
-
Checks if the current platform is a web platform.
-
isWindowsDesktop()
→ bool
-
Checks if the current platform is Windows desktop.
-
lerpGradient(List<Color> colors, List<double> stops, double t)
→ Color
-
Lerps between a LinearGradient colors, based on
t
-
-
normalizePath(String path)
→ String
-
-
offsetDetailsFromJSON(dynamic json)
→ OffsetDetails
-
-
offsetFromJson(dynamic json)
→ Offset?
-
-
offsetFromJSON(dynamic json, [Offset? defaultValue])
→ Offset?
-
-
-
outlinedBorderFromJSON(Map<String, dynamic> json)
→ OutlinedBorder?
-
-
paintFromJSON(ThemeData? theme, Map<String, dynamic> json)
→ Paint
-
-
paintGradientFromJSON(ThemeData? theme, Map<String, dynamic>? json)
→ Gradient?
-
-
parseAlignment(Control control, String propName, [Alignment? defValue])
→ Alignment?
-
-
parseAnimation(Control control, String propName, [ImplicitAnimationDetails? defaultValue])
→ ImplicitAnimationDetails?
-
-
parseAnimationStyle(Control control, String propName, [AnimationStyle? defaultValue])
→ AnimationStyle?
-
-
parseAppBarTheme(ThemeData theme, Map<String, dynamic>? j)
→ AppBarTheme?
-
-
parseAssertiveness(String? value, [Assertiveness? defValue])
→ Assertiveness?
-
-
parseAxis(String? value, [Axis? defValue])
→ Axis?
-
-
parseBadgeTheme(ThemeData theme, Map<String, dynamic>? j)
→ BadgeThemeData?
-
-
parseBannerTheme(ThemeData theme, Map<String, dynamic>? j)
→ MaterialBannerThemeData?
-
-
parseBlendMode(String? mode, [BlendMode? defValue])
→ BlendMode?
-
-
parseBlur(Control control, String propName, [ImageFilter? defValue])
→ ImageFilter?
-
-
parseBool(dynamic v, [bool? defValue])
→ bool?
-
-
parseBorder(ThemeData theme, Control control, String propName, [Color? defaultSideColor])
→ Border?
-
-
parseBorderRadius(Control control, String propName, [BorderRadius? defaultValue])
→ BorderRadius?
-
-
parseBorderSide(ThemeData theme, Control control, String propName, {Color? defaultSideColor})
→ BorderSide?
-
-
parseBottomAppBarTheme(ThemeData theme, Map<String, dynamic>? j)
→ BottomAppBarTheme?
-
-
parseBottomSheetTheme(ThemeData theme, Map<String, dynamic>? j)
→ BottomSheetThemeData?
-
-
parseBoxConstraints(Control control, String propName)
→ BoxConstraints?
-
-
parseBoxDecoration(ThemeData theme, Control control, String propName, PageArgsModel? pageArgs)
→ BoxDecoration?
-
-
parseBoxFit(String? fit, [BoxFit? defValue])
→ BoxFit?
-
-
parseBoxShadow(ThemeData theme, Control control, String propName, [List<BoxShadow>? defValue])
→ List<BoxShadow>?
-
-
parseBoxShape(String? value, [BoxShape? defValue])
→ BoxShape?
-
-
parseButtonStyle(ThemeData theme, Control control, String propName, {Color? defaultForegroundColor, Color? defaultBackgroundColor, Color? defaultOverlayColor, Color? defaultShadowColor, Color? defaultSurfaceTintColor, double? defaultElevation, EdgeInsets? defaultPadding, BorderSide? defaultBorderSide, OutlinedBorder? defaultShape})
→ ButtonStyle?
-
-
parseButtonTheme(ThemeData theme, Map<String, dynamic>? j)
→ ButtonThemeData?
-
-
parseCardTheme(ThemeData theme, Map<String, dynamic>? j)
→ CardTheme?
-
-
parseCardVariant(String? value, [CardVariant? defValue])
→ CardVariant?
-
-
parseCheckboxTheme(ThemeData theme, Map<String, dynamic>? j)
→ CheckboxThemeData?
-
-
parseChipTheme(ThemeData theme, Map<String, dynamic>? j)
→ ChipThemeData?
-
-
parseClip(String? value, [Clip? defaultValue])
→ Clip?
-
-
parseColor(ThemeData? theme, String? colorString, [Color? defaultColor])
→ Color?
-
-
parseColorFilter(Control control, String propName, ThemeData theme, [ColorFilter? defValue])
→ ColorFilter?
-
-
parseColors(ThemeData? theme, dynamic jv)
→ List<Color>
-
-
parseColorScheme(ThemeData theme, Map<String, dynamic>? j)
→ ColorScheme?
-
-
parseCrossAxisAlignment(String? alignment, [CrossAxisAlignment? defValue])
→ CrossAxisAlignment?
-
-
parseCupertinoDatePickerMode(String? value, [CupertinoDatePickerMode? defValue])
→ CupertinoDatePickerMode?
-
-
parseCupertinoTheme(Control control, String propName, Brightness? brightness, {ThemeData? parentTheme})
→ CupertinoThemeData
-
-
parseCupertinoTimerPickerMode(String? value, [CupertinoTimerPickerMode? defValue])
→ CupertinoTimerPickerMode?
-
-
parseCurve(String? value, [Curve? defValue])
→ Curve?
-
-
parseDataTableTheme(ThemeData theme, Map<String, dynamic>? j)
→ DataTableThemeData?
-
-
parseDatePickerDateOrder(String? value, [DatePickerDateOrder? defValue])
→ DatePickerDateOrder?
-
-
parseDatePickerEntryMode(String? value, [DatePickerEntryMode? defValue])
→ DatePickerEntryMode?
-
-
parseDatePickerMode(String? value, [DatePickerMode? defValue])
→ DatePickerMode?
-
-
parseDatePickerTheme(ThemeData theme, Map<String, dynamic>? j)
→ DatePickerThemeData?
-
-
parseDecorationImage(ThemeData theme, Control control, String propName, PageArgsModel? pageArgs)
→ DecorationImage?
-
-
parseDialogTheme(ThemeData theme, Map<String, dynamic>? j)
→ DialogTheme?
-
-
parseDividerTheme(ThemeData theme, Map<String, dynamic>? j)
→ DividerThemeData?
-
-
parseDouble(dynamic v, [double? defValue])
→ double?
-
-
-
parseDuration(Control control, String propName, [Duration? defaultValue])
→ Duration?
-
-
parseEdgeInsets(Control control, String propName, [EdgeInsets? defaultValue])
→ EdgeInsets?
-
-
parseEdgeInsetsDirectional(Control control, String propName, [EdgeInsetsDirectional? defaultValue])
→ EdgeInsetsDirectional?
-
-
parseExpansionTileTheme(ThemeData theme, Map<String, dynamic>? j)
→ ExpansionTileThemeData?
-
-
parseFilterQuality(String? quality, [FilterQuality? defValue])
→ FilterQuality?
-
-
parseFloatingActionButtonLocation(Control control, String propName, FloatingActionButtonLocation defValue)
→ FloatingActionButtonLocation
-
-
parseFloatingActionButtonTheme(ThemeData theme, Map<String, dynamic>? j)
→ FloatingActionButtonThemeData?
-
-
parseGradient(ThemeData theme, Control control, String propName)
→ Gradient?
-
-
parseIcon(String? iconName, [IconData? defaultIcon])
→ IconData?
-
-
parseIconTheme(ThemeData theme, Map<String, dynamic>? j)
→ IconThemeData?
-
-
parseImageRepeat(String? repeat, [ImageRepeat? defValue])
→ ImageRepeat?
-
-
parseInlineSpan(ThemeData theme, ControlTreeViewModel spanViewModel, bool parentDisabled, void sendControlEvent(String, String, String)?)
→ InlineSpan?
-
-
parseInputFilter(Control control, String propName)
→ FilteringTextInputFormatter?
-
-
parseInt(dynamic v, [int? defValue])
→ int?
-
-
parseLabelPosition(String? value, [LabelPosition? defValue])
→ LabelPosition?
-
-
parseListTileControlAffinity(String? value, [ListTileControlAffinity? defValue])
→ ListTileControlAffinity?
-
-
parseListTileStyle(String? value, [ListTileStyle? defValue])
→ ListTileStyle?
-
-
parseListTileTheme(ThemeData theme, Map<String, dynamic>? j)
→ ListTileThemeData?
-
-
parseListTileTitleAlignment(String? value, [ListTileTitleAlignment? defValue])
→ ListTileTitleAlignment?
-
-
parseMainAxisAlignment(String? alignment, [MainAxisAlignment? defValue])
→ MainAxisAlignment?
-
-
-
parseMouseCursor(String? cursor, [MouseCursor? defaultMouseCursor])
→ MouseCursor?
-
-
parseNavigationBarTheme(ThemeData theme, Map<String, dynamic>? j)
→ NavigationBarThemeData?
-
-
parseNavigationDestinationLabelBehavior(String? value, [NavigationDestinationLabelBehavior? defValue])
→ NavigationDestinationLabelBehavior?
-
-
parseNavigationDrawerTheme(ThemeData theme, Map<String, dynamic>? j)
→ NavigationDrawerThemeData?
-
-
parseNavigationRailTheme(ThemeData theme, Map<String, dynamic>? j)
→ NavigationRailThemeData?
-
-
parseNotchedShape(String? value, [NotchedShape? defValue])
→ NotchedShape?
-
-
parseOffset(Control control, String propName, [Offset? defaultValue])
→ Offset?
-
-
parseOffsetList(Control control, String propName, [List<Offset>? defaultValue])
→ List<Offset>?
-
-
parseOrientation(String? value, [Orientation? defaultOrientation])
→ Orientation?
-
-
parseOutlinedBorder(Control control, String propName)
→ OutlinedBorder?
-
-
parsePageTransitions(Map<String, dynamic>? json, [PageTransitionsTheme? defValue])
→ PageTransitionsTheme?
-
-
parsePaint(ThemeData theme, Control control, String propName)
→ Paint
-
-
parsePaintingStyle(String? value, [PaintingStyle? defValue])
→ PaintingStyle?
-
-
parsePaintStrokeDashPattern(Control control, String propName)
→ List<double>?
-
-
parsePointerDeviceKind(String? value, [PointerDeviceKind? defValue])
→ PointerDeviceKind?
-
-
-
-
parseProgressIndicatorTheme(ThemeData theme, Map<String, dynamic>? j)
→ ProgressIndicatorThemeData?
-
-
parseRadioTheme(ThemeData theme, Map<String, dynamic>? j)
→ RadioThemeData?
-
-
parseRadius(Control control, String propName, [Radius? defaultValue])
→ Radius?
-
-
parseResponsiveNumber(Control control, String propName, double defaultValue)
→ Map<String, double>
-
-
parseRotate(Control control, String propName, [RotationDetails? defaultValue])
→ RotationDetails?
-
-
parseRotation(dynamic jv, [GradientRotation? defValue])
→ GradientRotation?
-
-
parseRotationToMatrix4(dynamic jv, Rect bounds)
→ Float64List?
-
-
parseScale(Control control, String propName, [ScaleDetails? defaultValue])
→ ScaleDetails?
-
-
parseScrollBarTheme(ThemeData theme, Map<String, dynamic>? j)
→ ScrollbarThemeData?
-
-
parseScrollMode(String? value, [ScrollMode? defValue])
→ ScrollMode?
-
-
parseSearchBarTheme(ThemeData theme, Map<String, dynamic>? j)
→ SearchBarThemeData?
-
-
parseSearchViewTheme(ThemeData theme, Map<String, dynamic>? j)
→ SearchViewThemeData?
-
-
parseSegmentedButtonTheme(ThemeData theme, Map<String, dynamic>? j)
→ SegmentedButtonThemeData?
-
-
parseSliderInteraction(String? value, [SliderInteraction? defValue])
→ SliderInteraction?
-
-
parseSliderTheme(ThemeData theme, Map<String, dynamic>? j)
→ SliderThemeData?
-
-
parseSnackBarBehavior(String? value, [SnackBarBehavior? defValue])
→ SnackBarBehavior?
-
-
parseSnackBarTheme(ThemeData theme, Map<String, dynamic>? j)
→ SnackBarThemeData?
-
-
parseStackFit(String? value, [StackFit? defValue])
→ StackFit?
-
-
parseStops(dynamic jv)
→ List<double>?
-
-
parseStringList(Control control, String propName)
→ List<String>?
-
-
parseStrokeCap(String? value, [StrokeCap? defValue])
→ StrokeCap?
-
-
parseStrokeJoin(String? value, [StrokeJoin? defValue])
→ StrokeJoin?
-
-
parseSwitchTheme(ThemeData theme, Map<String, dynamic>? j)
→ SwitchThemeData?
-
-
parseTabAlignment(String? alignment, [TabAlignment? defValue])
→ TabAlignment?
-
-
parseTabBarTheme(ThemeData theme, Map<String, dynamic>? j)
→ TabBarTheme?
-
-
parseTextAlign(String? value, [TextAlign? defaultValue])
→ TextAlign?
-
-
parseTextBaseline(String? value, [TextBaseline? defaultValue])
→ TextBaseline?
-
-
parseTextCapitalization(String? value, [TextCapitalization? defaultValue])
→ TextCapitalization?
-
-
parseTextOverflow(String? value, [TextOverflow? defaultValue])
→ TextOverflow?
-
-
parseTextSpans(ThemeData theme, ControlTreeViewModel viewModel, bool parentDisabled, void sendControlEvent(String, String, String)?)
→ List<InlineSpan>
-
-
parseTextStyle(ThemeData theme, Control control, String propName)
→ TextStyle?
-
-
parseTextTheme(ThemeData theme, TextTheme textTheme, Map<String, dynamic>? j)
→ TextTheme?
-
-
parseTheme(Control control, String propName, Brightness? brightness, {ThemeData? parentTheme})
→ ThemeData
-
-
parseTileMode(dynamic jv, [TileMode? defValue])
→ TileMode?
-
-
parseTimePickerEntryMode(String? value, [TimePickerEntryMode? defValue])
→ TimePickerEntryMode?
-
-
parseTimePickerTheme(ThemeData theme, Map<String, dynamic>? j)
→ TimePickerThemeData?
-
-
parseTooltipTheme(ThemeData theme, Map<String, dynamic>? j)
→ TooltipThemeData?
-
-
parseTransitionsBuilder(String? tb, PageTransitionsBuilder defaultBuilder)
→ PageTransitionsBuilder
-
-
parseVisualDensity(String? density, [VisualDensity? defValue])
→ VisualDensity?
-
-
parseWidgetStateBool(Control control, String propName, [bool? defaultValue])
→ WidgetStateProperty<bool?>?
-
-
parseWidgetStateBorderSide(ThemeData theme, Control control, String propName)
→ WidgetStateBorderSide?
-
-
parseWidgetStateColor(ThemeData theme, Control control, String propName, [Color? defaultValue])
→ WidgetStateProperty<Color?>?
-
-
parseWidgetStateDouble(Control control, String propName, [double? defaultValue])
→ WidgetStateProperty<double?>?
-
-
parseWidgetStateEdgeInsets(Control control, String propName, [EdgeInsets? defaultValue])
→ WidgetStateProperty<EdgeInsets?>?
-
-
parseWidgetStateIcon(ThemeData theme, Control control, String propName)
→ WidgetStateProperty<Icon?>?
-
-
parseWidgetStateInt(Control control, String propName, [int? defaultValue])
→ WidgetStateProperty<int?>?
-
-
parseWidgetStateOutlinedBorder(Control control, String propName)
→ WidgetStateProperty<OutlinedBorder?>?
-
-
parseWidgetStateTextStyle(ThemeData theme, Control control, String propName)
→ WidgetStateProperty<TextStyle?>?
-
-
parseWrapAlignment(String? alignment, [WrapAlignment? defValue])
→ WrapAlignment?
-
-
parseWrapCrossAlignment(String? alignment, [WrapCrossAlignment? defValue])
→ WrapCrossAlignment?
-
-
responsiveNumberFromJson(Map<String, dynamic> json)
→ Map<String, double>
-
-
rotateFromJSON(dynamic json, [RotationDetails? defaultValue])
→ RotationDetails
-
-
scaleFromJSON(dynamic json, [ScaleDetails? defaultValue])
→ ScaleDetails?
-
-
setupDesktop()
→ Future
-
-
textStyleFromJson(ThemeData theme, Map<String, dynamic>? json)
→ TextStyle?
-
-
themeFromJson(Map<String, dynamic>? json, Brightness? brightness, ThemeData? parentTheme)
→ ThemeData
-
-
trim(String str, String symbol)
→ String
-
-
trimEnd(String str, String symbol)
→ String
-
-
trimStart(String str, String symbol)
→ String
-