ThemeDecoder class

Decoder capable of converting JSON compatible values into Flutter Theme related classes and enums.

All decoder functions, in addition the the type that can be decoded, will accept a value of the returned type and return it unmodified. However, when mixing JSON compatible values and concrete values, you must disable the JSON Schema validator as it will not be able to validate concrete instances.

Unless otherwise stated, each function will return null when given an input of null.

Annotations

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

decodeActionIconThemeData(dynamic value, {bool validate = false}) ActionIconThemeData?
Decodes the given value to an ActionIconThemeData. This expects the following JSON structure:
decodeAlignment(dynamic value, {bool validate = true}) Alignment?
Decodes the given value to an Alignment. If the given value is a Map then this expects the following JSON structure:
decodeAlignmentDirectional(dynamic value, {bool validate = true}) AlignmentDirectional?
Decodes the given value to an AlignmentDirectional. The supported values are:
decodeAlignmentGeometry(dynamic value, {bool validate = true}) AlignmentGeometry?
Decodes the given value to an AlignmentGeometry. The supported values are:
decodeAndroidOverscrollIndicator(dynamic value, {bool validate = true}) AndroidOverscrollIndicator?
Decodes the given value to an AndroidOverscrollIndicator. Supported values are:
decodeAppBarTheme(dynamic value, {bool validate = true}) AppBarTheme?
Decodes the given value to an AppBarTheme. This expects the given value to follow the structure below:
decodeAutovalidateMode(dynamic value, {bool validate = true}) AutovalidateMode?
Decodes the given value to an AutovalidateMode. Supported values are:
decodeAxis(dynamic value, {bool validate = true}) Axis?
Decodes the given value to an Axis. Supported values are:
decodeBadgeThemeData(dynamic value, {bool validate = true}) BadgeThemeData?
Decodes the given value to an BadgeThemeData. This expects the given value to follow the structure below:
decodeBlendMode(dynamic value, {bool validate = true}) BlendMode?
Decodes the given value to an BlendMode. Supported values are:
decodeBlurStyle(dynamic value, {bool validate = true}) BlurStyle?
Decodes the given value to an BlurStyle. Supported values are:
decodeBorderRadius(dynamic value, {bool validate = true}) BorderRadius?
Decodes the given value to a BorderRadius. The value may be a String, an int, a double, or a Map-like object.
decodeBorderRadiusGeometry(dynamic value, {bool validate = true}) BorderRadius?
Decodes the given value to a BorderRadius. The value may be a String, an int, a double, or a Map-like object.
decodeBorderSide(dynamic value, {bool validate = true}) BorderSide?
Decodes the given value to an BorderSide. This expects the given value to follow the structure below:
decodeBorderStyle(dynamic value, {bool validate = true}) BorderStyle?
Decodes the value to a BorderStyle. Supported values are:
decodeBottomAppBarTheme(dynamic value, {bool validate = true}) BottomAppBarTheme?
Decodes the given value to an BottomAppBarTheme. This expects the given value to follow the structure below:
decodeBottomNavigationBarLandscapeLayout(dynamic value, {bool validate = true}) BottomNavigationBarLandscapeLayout?
Decodes the value to a BottomNavigationBarLandscapeLayout. Supported values are:
decodeBottomNavigationBarThemeData(dynamic value, {bool validate = true}) BottomNavigationBarThemeData?
Decodes the given value to an BottomNavigationBarThemeData. This expects the given value to follow the structure below:
decodeBottomNavigationBarType(dynamic value, {bool validate = true}) BottomNavigationBarType?
Decodes the value to a BottomNavigationBarType. Supported values are:
decodeBottomSheetThemeData(dynamic value, {bool validate = true}) BottomSheetThemeData?
Decodes the given value to an BottomSheetThemeData. This expects the given value to follow the structure below:
decodeBoxBorder(dynamic value, {bool validate = true}) BoxBorder?
Decodes the given value into a BoxBorder. If the value is null then null will be returned.
decodeBoxConstraints(dynamic value, {bool validate = true}) BoxConstraints?
Decodes the given value into a BoxConstraints. If the value is null then null will be returned. Otherwise, this expects a Map like value that in JSON would look like:
decodeBoxDecoration(dynamic value, {bool validate = true}) BoxDecoration?
Decodes the given value into a BoxDecoration. If the value is null then null will be returned. Otherwise, this expects a Map like value that in JSON would look like:
decodeBoxFit(dynamic value, {bool validate = true}) BoxFit?
Decodes the value to a BoxFit. Supported values are:
decodeBoxHeightStyle(dynamic value, {bool validate = false}) BoxHeightStyle?
Decodes the value to a BoxHeightStyle. Supported values are:
decodeBoxShadow(dynamic value, {bool validate = true}) BoxShadow?
Decodes the given value into a BoxDecoration. If the value is null then null will be returned. Otherwise, this expects a Map like value that in JSON would look like:
decodeBoxShape(dynamic value, {bool validate = true}) BoxShape?
Decodes the value to a BoxShape. Supported values are:
decodeBoxWidthStyle(dynamic value, {bool validate = false}) BoxWidthStyle?
Decodes the value to a BoxWidthStyle. Supported values are:
decodeBrightness(dynamic value, {bool validate = true}) Brightness?
Decodes the value to a Brightness. Supported values are:
decodeButtonBarLayoutBehavior(dynamic value, {bool validate = true}) ButtonBarLayoutBehavior?
Decodes the value to a ButtonBarLayoutBehavior. Supported values are:
decodeButtonBarThemeData(dynamic value, {bool validate = true}) ButtonBarThemeData?
Decodes the given value to an ButtonBarThemeData. This expects the given value to follow the structure below:
decodeButtonStyle(dynamic value, {bool validate = true}) ButtonStyle?
Decodes the value to a ButtonStyle.
decodeButtonTextTheme(dynamic value, {bool validate = true}) ButtonTextTheme?
Decodes the value to a ButtonTextTheme. Supported values are:
decodeButtonThemeData(dynamic value, {bool validate = true}) ButtonThemeData?
Decodes the given value to an ButtonThemeData. This expects the given value to follow the structure below:
decodeCardTheme(dynamic value, {bool validate = true}) CardTheme?
Decodes the given value to an CardTheme. This expects the given value to follow the structure below:
decodeCheckboxThemeData(dynamic value, {bool validate = true}) CheckboxThemeData?
Decodes the given value to an CheckboxThemeData. This expects the given value to follow the structure below:
decodeChipThemeData(dynamic value, {bool validate = true}) ChipThemeData?
Decodes the given value to an CardTheme. This expects the given value to follow the structure below:
decodeClip(dynamic value, {bool validate = true}) Clip?
Decodes the value to a Clip. Supported values are:
decodeColor(dynamic value, {bool validate = true}) Color?
Decodes a given value into a color. A value of null will result in null being returned.
decodeColorFilter(dynamic value, {bool validate = true}) ColorFilter?
Decodes a dynamic value into a ColorFilter. The schema this requires depends on the type.
decodeColorScheme(dynamic value, {bool validate = true}) ColorScheme?
Decodes the given value to an CardTheme. This expects the given value to follow the structure below:
decodeCrossAxisAlignment(dynamic value, {bool validate = true}) CrossAxisAlignment?
Decodes the value to a CrossAxisAlignment. Supported values are:
decodeCrossFadeState(dynamic value, {bool validate = true}) CrossFadeState?
Decodes the value to a CrossFadeState. Supported values are:
decodeCupertinoTextThemeData(dynamic value, {bool validate = true}) CupertinoTextThemeData?
Decodes the given value to an CupertinoTextThemeData. This expects the given value to follow the structure below:
decodeCupertinoThemeData(dynamic value, {bool validate = true}) CupertinoThemeData?
Decodes the given value to an CupertinoThemeData. This expects the given value to follow the structure below:
decodeDataTableThemeData(dynamic value, {bool validate = true}) DataTableThemeData?
Decodes the given value to an DataTableThemeData. This expects the given value to be of the following structure:
decodeDatePickerThemeData(dynamic value, {bool validate = true}) DatePickerThemeData?
Decodes the given value to an DatePickerThemeData. This expects the given value to be of the following structure:
decodeDecorationImage(dynamic value, {bool validate = true}) DecorationImage?
Decodes the given value to an DecorationImage. This expects the given value to follow the structure below:
decodeDecorationPosition(dynamic value, {bool validate = true}) DecorationPosition?
Decodes the value to a DecorationPosition. Supported values are:
decodeDialogTheme(dynamic value, {bool validate = true}) DialogTheme?
Decodes the given value to an DialogTheme. This expects the given value to follow the structure below:
decodeDividerThemeData(dynamic value, {bool validate = true}) DividerThemeData?
Decodes the given value to an DividerThemeData. This expects the given value to follow the structure below:
decodeDragStartBehavior(dynamic value, {bool validate = true}) DragStartBehavior?
Decodes the given value to an DragStartBehavior. Supported values are:
decodeDrawerThemeData(dynamic value, {bool validate = true}) DrawerThemeData?
Decodes the given value to an DrawerThemeData. This expects the given value to be of the following structure:
decodeDropdownMenuThemeData(dynamic value, {bool validate = true}) DropdownMenuThemeData?
Decodes the given value to an DropdownMenuThemeData. This expects the given value to be of the following structure:
decodeEdgeInsets(dynamic value, {bool validate = true}) EdgeInsets?
Decodes the value into an EdgeInsetsGeometry.
decodeEdgeInsetsDirectional(dynamic value, {bool ltr = true, bool validate = true}) EdgeInsetsDirectional?
Decodes the value into an EdgeInsetsGeometry.
decodeEdgeInsetsGeometry(dynamic value, {bool validate = true}) EdgeInsetsGeometry?
Decodes the value into an EdgeInsetsGeometry.
decodeElevatedButtonThemeData(dynamic value, {bool validate = true}) ElevatedButtonThemeData?
Decodes the given value to an ElevatedButtonThemeData. This expects the given value to be of the following structure:
decodeExpansionTileThemeData(dynamic value, {bool validate = true}) ExpansionTileThemeData?
Decodes the given value to an ExpansionTileThemeData. This expects the given value to be of the following structure:
decodeFilledButtonThemeData(dynamic value, {bool validate = true}) FilledButtonThemeData?
Decodes the given value to an FilledButtonThemeData. This expects the given value to be of the following structure:
decodeFilterQuality(dynamic value, {bool validate = true}) FilterQuality?
Decodes the value to a FilterQuality. Supported values are:
decodeFlexFit(dynamic value, {bool validate = true}) FlexFit?
Decodes the value to a FlexFit. Supported values are:
decodeFloatingActionButtonAnimator(dynamic value, {bool validate = true}) FloatingActionButtonAnimator?
Decodes the value to a FloatingActionButtonAnimator. Supported values are:
decodeFloatingActionButtonLocation(dynamic value, {bool validate = true}) FloatingActionButtonLocation?
Decodes the value to a FloatingActionButtonLocation. Supported values are:
decodeFloatingActionButtonThemeData(dynamic value, {bool validate = true}) FloatingActionButtonThemeData?
Decodes the given value to an FloatingActionButtonThemeData. This expects the given value to follow the structure below:
decodeFloatingLabelAlignment(dynamic value, {bool validate = true}) FloatingLabelAlignment?
Decodes the value to a FloatingLabelAlignment. Supported values are:
decodeFloatingLabelBehavior(dynamic value, {bool validate = true}) FloatingLabelBehavior?
Decodes the value to a FloatingLabelBehavior. Supported values are:
decodeFontFeature(dynamic value, {bool validate = true}) FontFeature?
Decodes the given value to an FontFeature. This expects the given value to follow the structure below:
decodeFontStyle(dynamic value, {bool validate = true}) FontStyle?
Decodes the value to a FontStyle. Supported values are:
decodeFontVariation(dynamic value, {bool validate = true}) FontVariation?
Decodes the given value into a FontVariation. If the value is null then null will be returned.
decodeFontWeight(dynamic value, {bool validate = true}) FontWeight?
Decodes the value to a FontWeight. Supported values are:
decodeGradient(dynamic value, {bool validate = true}) Gradient?
Decodes the given value into a Gradient. If the value is null then null will be returned.
decodeGradientTransform(dynamic value, {bool validate = true}) GradientTransform?
Decodes the given value into a GradientTransform. If the value is null then null will be returned.
decodeHitTestBehavior(dynamic value, {bool validate = true}) HitTestBehavior?
Decodes the given value into a HitTestBehavior. Supported values are:
decodeIcon(dynamic value, {bool validate = true}) Icon?
Decodes the given value into an IconData. If the value is null then null will be returned.
decodeIconButtonThemeData(dynamic value, {bool validate = true}) IconButtonThemeData?
Decodes the given value to an IconButtonThemeData. This expects the given value to follow the structure below:
decodeIconData(dynamic value, {bool validate = true}) IconData?
Decodes the given value into an IconData. If the value is null then null will be returned.
decodeIconThemeData(dynamic value, {bool validate = true}) IconThemeData?
Decodes the given value into an IconThemeData. If the value is null then null will be returned.
decodeImageProvider(dynamic value, {bool validate = true}) ImageProvider<Object>?
Decodes the given value to an ImageProvider. This expects a specific "type" attribute to be one of:
decodeImageRepeat(dynamic value, {bool validate = true}) ImageRepeat?
Decodes the given value into an ImageRepeat. Supported values are:
decodeInputBorder(dynamic value, {bool validate = true}) InputBorder?
Decodes the given value to an InputBorder. This expects a specific "type" attribute to be one of:
decodeInputDecorationTheme(dynamic value, {bool validate = true}) InputDecorationTheme?
Decodes the given value to an InputDecorationTheme. This expects the given value to be of the following structure:
decodeInteractiveInkFeatureFactory(dynamic value, {bool validate = true}) InteractiveInkFeatureFactory?
Decodes the value to an InteractiveInkFeatureFactory. Supported values are:
decodeListTileStyle(dynamic value, {bool validate = true}) ListTileStyle?
Decodes the value to an ListTileStyle. Supported values are:
decodeListTileThemeData(dynamic value, {bool validate = true}) ListTileThemeData?
Decodes the given value to an Locale. This expects the given value to be of the following structure:
decodeListTileTitleAlignment(dynamic value, {bool validate = false}) ListTileTitleAlignment?
Decodes the value to an ListTileTitleAlignment. Supported values are:
decodeLocale(dynamic value, {bool validate = true}) Locale?
Decodes the given value to an Locale. This expects the given value to be of the following structure:
decodeMainAxisAlignment(dynamic value, {bool validate = true}) MainAxisAlignment?
Decodes the value to a MainAxisAlignment. Supported values are:
decodeMainAxisSize(dynamic value, {bool validate = true}) MainAxisSize?
Decodes the value to a MainAxisSize. Supported values are:
decodeMaterialBannerThemeData(dynamic value, {bool validate = true}) MaterialBannerThemeData?
Decodes the given value to an MaterialBannerThemeData. This expects the given value to be of the following structure:
decodeMaterialColor(dynamic value, {bool validate = true}) MaterialColor?
Decodes the given value to an MaterialColor. This expects the given value to be of the following structure:
decodeMaterialStateColor(dynamic value, {bool validate = true}) MaterialStateColor?
Decodes a value into a MaterialStateColor. If the value is a String then the value will be used for all states.
decodeMaterialStatePropertyBool(dynamic value, {bool validate = true}) MaterialStateProperty<bool?>?
Decodes a value into a double based MaterialStateProperty. This accepts a double or a String which will be resolved for all states.
decodeMaterialStatePropertyBorderSide(dynamic value, {bool validate = true}) MaterialStateProperty<BorderSide?>?
Decodes a value into a BorderSide based MaterialStateProperty. This accepts a BorderSide or a String which will be resolved for all states.
decodeMaterialStatePropertyColor(dynamic value, {bool validate = true}) MaterialStateProperty<Color?>?
Decodes a value into a Color based MaterialStateProperty. This accepts a Color or a String which will be resolved for all states.
decodeMaterialStatePropertyDouble(dynamic value, {bool validate = true}) MaterialStateProperty<double?>?
Decodes a value into a double based MaterialStateProperty. This accepts a double or a String which will be resolved for all states.
decodeMaterialStatePropertyEdgeInsetsGeometry(dynamic value, {bool validate = true}) MaterialStateProperty<EdgeInsetsGeometry?>?
Decodes a value into a EdgeInsetsGeometry based MaterialStateProperty.
decodeMaterialStatePropertyIcon(dynamic value, {bool validate = true}) MaterialStateProperty<Icon?>?
Decodes a value into a Icon based MaterialStateProperty. This accepts a Icon or a String which will be resolved for all states.
decodeMaterialStatePropertyIconThemeData(dynamic value, {bool validate = true}) MaterialStateProperty<IconThemeData?>?
Decodes a value into a IconThemeData based MaterialStateProperty. This accepts a IconThemeData or a String which will be resolved for all states.
decodeMaterialStatePropertyMouseCursor(dynamic value, {bool validate = true}) MaterialStateProperty<MouseCursor?>?
Decodes a value into a MouseCursor based MaterialStateProperty. This accepts a MouseCursor or a String which will be resolved for all states.
decodeMaterialStatePropertyOutlinedBorder(dynamic value, {bool validate = true}) MaterialStateProperty<OutlinedBorder?>?
Decodes a value into a OutlinedBorder based MaterialStateProperty. This accepts a OutlinedBorder or a String which will be resolved for all states.
decodeMaterialStatePropertySize(dynamic value, {bool validate = true}) MaterialStateProperty<Size?>?
Decodes a value into a Size based MaterialStateProperty. This accepts a Size or a String which will be resolved for all states.
decodeMaterialStatePropertyTextStyle(dynamic value, {bool validate = true}) MaterialStateProperty<TextStyle?>?
Decodes a value into a TextStyle based MaterialStateProperty. This accepts a TextStyle or a String which will be resolved for all states.
decodeMaterialTapTargetSize(dynamic value, {bool validate = true}) MaterialTapTargetSize?
Decodes the value to a MaterialTargetTapSize. Supported values are:
decodeMaterialType(dynamic value, {bool validate = true}) MaterialType?
Decodes the value to a MaterialType. Supported values are:
decodeMatrix4(dynamic value, {bool validate = true}) Matrix4?
Decodes the value to a Matrix4. This requires the value to be an Iterable of double with exactly 16 elements in it.
decodeMaxLengthEnforcement(dynamic value, {bool validate = true}) MaxLengthEnforcement?
Decodes the value to a MaxLengthEnforcement. Supported values are:
decodeMenuBarThemeData(dynamic value, {bool validate = true}) MenuBarThemeData?
Decodes the given value to an MenuBarThemeData. This expects the given value to be of the following structure:
decodeMenuButtonThemeData(dynamic value, {bool validate = true}) MenuButtonThemeData?
Decodes the given value to an MenuButtonThemeData. This expects the given value to be of the following structure:
decodeMenuStyle(dynamic value, {bool validate = true}) MenuStyle?
Decodes the given value to an MenuStyle. This expects the given value to be of the following structure:
decodeMenuThemeData(dynamic value, {bool validate = true}) MenuThemeData?
Decodes the given value to an MenuThemeData. This expects the given value to be of the following structure:
decodeMouseCursor(dynamic value, {bool validate = true}) MouseCursor?
Decodes the given value to a MouseCursor. There must be a "type" attribute that is one of:
decodeNavigationBarThemeData(dynamic value, {bool validate = true}) NavigationBarThemeData?
Decodes the given value to an NavigationBarThemeData. This expects the given value to be of the following structure:
decodeNavigationDestinationLabelBehavior(dynamic value, {bool validate = true}) NavigationDestinationLabelBehavior?
Decodes the value to a NavigationDestinationLabelBehavior. Supported values are:
decodeNavigationDrawerThemeData(dynamic value, {bool validate = true}) NavigationDrawerThemeData?
Decodes the given value to an NavigationDrawerThemeData. This expects the given value to be of the following structure:
decodeNavigationRailLabelType(dynamic value, {bool validate = true}) NavigationRailLabelType?
Decodes the value to a NavigationRailLabelType. Supported values are:
decodeNavigationRailThemeData(dynamic value, {bool validate = true}) NavigationRailThemeData?
Decodes the given value to an NavigationRailThemeData. This expects the given value to be of the following structure:
decodeNotchedShape(dynamic value, {bool validate = true}) NotchedShape?
Decodes the value to a NotchedShape. Supported values are:
decodeOffset(dynamic value, {bool validate = true}) Offset?
Decodes the given value to an Offset. This expects the given value to be of the following structure:
decodeOrdinalSortKey(dynamic value, {bool validate = true}) OrdinalSortKey?
Decodes the given value to an OrdinalSortKey. This expects the given value to be of the following structure:
decodeOutlinedBorder(dynamic value, {bool validate = true}) OutlinedBorder?
Decodes a given Map-like value into a OutlinedBorder. The value returned depends on the "type" parameter. The "type" must be one of:
decodeOutlinedButtonThemeData(dynamic value, {bool validate = true}) OutlinedButtonThemeData?
Decodes the given value to an OutlinedButtonThemeData. This expects the given value to be of the following structure:
decodeOverflowBoxFit(dynamic value, {bool validate = true}) OverflowBoxFit?
Decodes the value to a OverflowBoxFit. Supported values are:
decodePageTransitionsBuilder(dynamic value, {bool validate = true}) PageTransitionsBuilder?
Decodes the value to a PageTransitionsBuilder. Supported values are:
decodePageTransitionsTheme(dynamic value, {bool validate = true}) PageTransitionsTheme?
Decodes the given value to a PopupMenuThemeData. This expects the given value to be of the following structure:
decodePanAxis(dynamic value, {bool validate = true}) PanAxis?
Decodes the value to a PanAxis. Supported values are:
decodePointerDeviceKind(dynamic value, {bool validate = true}) PointerDeviceKind?
Decodes the value to a PointerDeviceKind. Supported values are:
decodePopupMenuPosition(dynamic value, {bool validate = true}) PopupMenuPosition?
Decodes the value to a PopupMenuPosition. Supported values are:
decodePopupMenuThemeData(dynamic value, {bool validate = true}) PopupMenuThemeData?
Decodes the given value to a PopupMenuThemeData. This expects the given value to be of the following structure:
decodeProgressIndicatorThemeData(dynamic value, {bool validate = true}) ProgressIndicatorThemeData?
Decodes the given value to an ProgressIndicatorThemeData. This expects the given value to follow the structure below:
decodeRadioThemeData(dynamic value, {bool validate = true}) RadioThemeData?
Decodes the given value to an RadioThemeData. This expects the given value to follow the structure below:
decodeRadius(dynamic value, {bool validate = true}) Radius?
Decodes the given value to a Radius. This can be a String, int, double, or an object. If this is an object, there must be a "type" attribute that is one of:
decodeRangeSliderThumbShape(dynamic value, {bool validate = true}) RangeSliderThumbShape?
Decodes the given value to a RangeSliderThumbShape. This expects a "type" attribute to be one of:
decodeRangeSliderTickMarkShape(dynamic value, {bool validate = true}) RangeSliderTickMarkShape?
Decodes the given value to a RangeSliderTickMarkShape. This expects a "type" attribute to be one of:
decodeRangeSliderTrackShape(dynamic value, {bool validate = true}) RangeSliderTrackShape?
Decodes the value to a RangeSliderTrackShape. Supported values are:
decodeRangeSliderValueIndicatorShape(dynamic value, {bool validate = true}) RangeSliderValueIndicatorShape?
Decodes the value to a RangeSliderValueIndicatorShape. Supported values are:
decodeRect(dynamic value, {bool validate = true}) Rect?
Decodes the value to a Rect. If value is not null then it must contain a property named "type" with one of the following values:
decodeScrollbarOrientation(dynamic value, {bool validate = true}) ScrollbarOrientation?
Decodes the value to a ScrollbarOrientation. Supported values are:
decodeScrollbarThemeData(dynamic value, {bool validate = true}) ScrollbarThemeData?
Decodes the given value to an ScrollbarThemeData. This expects the given value to follow the structure below:
decodeScrollBehavior(dynamic value, {bool validate = true}) ScrollBehavior?
Decodes the given value to an ScrollBehavior. This expects the given value to follow the structure below:
decodeScrollPhysics(dynamic value, {bool validate = true}) ScrollPhysics?
Decodes the value to a ScrollPhysics. If value is not null then it must contain a property named "type" with one of the following values:
decodeScrollViewKeyboardDismissBehavior(dynamic value, {bool validate = true}) ScrollViewKeyboardDismissBehavior?
Decodes the value to a ScrollViewKeyboardDismissBehavior. Supported values are:
decodeSearchBarThemeData(dynamic value, {bool validate = true}) SearchBarThemeData?
Decodes the given value to an SearchBarThemeData. This expects the given value to follow the structure below:
decodeSearchViewThemeData(dynamic value, {bool validate = true}) SearchViewThemeData?
Decodes the given value to an SearchViewThemeData. This expects the given value to follow the structure below:
decodeSegmentedButtonThemeData(dynamic value, {dynamic validate = true}) SegmentedButtonThemeData?
Decodes the given value to an SegmentedButtonThemeData. This expects the given value to follow the structure below:
decodeSemanticsTag(dynamic value, {bool validate = true}) SemanticsTag?
Decodes the given value to an SemanticsTag. This expects the given value to be of the following structure:
decodeShadow(dynamic value, {bool validate = true}) Shadow?
Decodes the given value to a Shadow. This expects the value to have the following structure:
decodeShapeBorder(dynamic value, {bool validate = true}) ShapeBorder?
Decodes a given Map-like value into a ShapeBorder. The value returned depends on the "type" parameter. The "type" must be one of:
decodeShowValueIndicator(dynamic value, {bool validate = true}) ShowValueIndicator?
Decodes the value to a ShowValueIndicator. Supported values are:
decodeSize(dynamic value, {bool validate = true}) Size?
Decodes the given value to a Size. This expects the value to have the following structure:
decodeSliderComponentShape(dynamic value, {bool validate = true}) SliderComponentShape?
Decodes the value to a SliderComponentShape. Supported values are:
decodeSliderInteraction(dynamic value, {bool validate = false}) SliderInteraction?
Decodes the value to a SliderComponentShape. Supported values are:
decodeSliderThemeData(dynamic value, {bool validate = true}) SliderThemeData?
Decodes the given value to a SliderThemeData. This expects the value to have the following structure:
decodeSliderTickMarkShape(dynamic value, {bool validate = true}) SliderTickMarkShape?
Decodes the value to a SliderTickMarkShape. Supported values are:
decodeSliderTrackShape(dynamic value, {bool validate = true}) SliderTrackShape?
Decodes the given value to a SliderTrackShape. This expects the value to have an attribute named "type" that is one of the following values:
decodeSmartDashesType(dynamic value, {bool validate = true}) SmartDashesType?
Decodes a value to a SmartDashesType. Supported values are:
decodeSmartQuotesType(dynamic value, {bool validate = true}) SmartQuotesType?
Decodes a value to a SmartQuotesType. Supported values are:
decodeSnackBarBehavior(dynamic value, {bool validate = true}) SnackBarBehavior?
Decodes a value to a SnackBarBehavior. Supported values are:
decodeSnackBarThemeData(dynamic value, {bool validate = true}) SnackBarThemeData?
Decodes the given value to a SnackBarThemeData. This expects the value to have the following structure:
decodeStackFit(dynamic value, {bool validate = true}) StackFit?
Decodes a value to a StackFit. Supported values are:
decodeStrutStyle(dynamic value, {bool validate = true}) StrutStyle?
Decodes the given value into a StrutStyle. If the value is null then null will be returned. Otherwise, this expects a Map like value that in JSON would look like:
decodeSwitchThemeData(dynamic value, {bool validate = true}) SwitchThemeData?
Decodes the given value to an SwitchThemeData. This expects the given value to follow the structure below:
decodeSystemUiOverlayStyle(dynamic value, {bool validate = true}) SystemUiOverlayStyle?
Decodes a value to a SystemUiOverlayStyle. Supported values are:
decodeTabAlignment(dynamic value, {bool validate = true}) TabAlignment?
Decodes a value to a TabAlignment. Supported values are:
decodeTabBarIndicatorSize(dynamic value, {bool validate = true}) TabBarIndicatorSize?
Decodes a value to a TabBarIndicatorSize. Supported values are:
decodeTabBarTheme(dynamic value, {bool validate = true}) TabBarTheme?
Decodes the given value to a TabBarTheme. This expects the value to have the following structure:
decodeTableBorder(dynamic value, {bool validate = true}) TableBorder?
Decodes the given value to a TableBorder. This expects the value to have the following structure:
decodeTableColumnWidth(dynamic value, {bool validate = true}) TableColumnWidth?
Decodes the given value to a TableColumnWidth. This expects the value to have the following structure:
decodeTargetPlatform(dynamic value, {bool validate = true}) TargetPlatform?
Decodes a value to a TargetPlatform. Supported values are:
decodeTextAlign(dynamic value, {bool validate = true}) TextAlign?
Decodes the value to a TextAlign. Supported values are:
decodeTextAlignVertical(dynamic value, {bool validate = true}) TextAlignVertical?
Decodes the value to a TextAlignVertical. Supported values are:
decodeTextBaseline(dynamic value, {bool validate = true}) TextBaseline?
Decodes the value to a TextBaseline. Supported values are:
decodeTextButtonThemeData(dynamic value, {bool validate = true}) TextButtonThemeData?
Decodes the given value to an TextButtonThemeData. This expects the given value to be of the following structure:
decodeTextCapitalization(dynamic value, {bool validate = true}) TextCapitalization?
Decodes the value to a TextCapitalization. Supported values are:
decodeTextDecoration(dynamic value, {bool validate = true}) TextDecoration?
Decodes the value to a TextDecoration. Supported values are:
decodeTextDecorationStyle(dynamic value, {bool validate = true}) TextDecorationStyle?
Decodes the value to a TextDecorationStyle. Supported values are:
decodeTextDirection(dynamic value, {bool validate = true}) TextDirection?
Decodes the value to a TextDirection. Supported values are:
decodeTextHeightBehavior(dynamic value, {bool validate = true}) TextHeightBehavior?
Decodes the given value into a TextHeightBehavior. If the value is null then null will be returned. Otherwise, this expects a Map like value that in JSON would look like:
decodeTextInputAction(dynamic value, {bool validate = true}) TextInputAction?
Decodes the value to a TextInputAction. Supported values are:
decodeTextInputType(dynamic value, {bool validate = true}) TextInputType?
Decodes the value to a TextInputType. Supported values are:
decodeTextLeadingDistribution(dynamic value, {bool validate = true}) TextLeadingDistribution?
Decodes the value to a TextLeadingDistribution. Supported values are:
decodeTextOverflow(dynamic value, {bool validate = true}) TextOverflow?
Decodes the value to a TextOverflow. Supported values are:
decodeTextSelectionThemeData(dynamic value, {bool validate = true}) TextSelectionThemeData?
Decodes the given value to an TextSelectionThemeData. This expects the given value to be of the following structure:
decodeTextSpan(dynamic value, {bool validate = true}) TextSpan?
Decodes a given Map-like value into a TextStyle. This expects the given value to have the following structure:
decodeTextStyle(dynamic value, {bool validate = true}) TextStyle?
Decodes a given Map-like value into a TextStyle. This expects the given value to have the following structure:
decodeTextTheme(dynamic value, {bool validate = true}) TextTheme?
Decodes the given value to a TextTheme. This expects the value to have one of the following structures:
decodeTextWidthBasis(dynamic value, {bool validate = true}) TextWidthBasis?
Decodes the value to a TextWidthBasis. Supported values are:
decodeThemeData(dynamic value, {bool validate = true}) ThemeData?
Decodes the given value to a ThemeData. This expects the value to have the following structure:
decodeTileMode(dynamic value, {bool validate = true}) TileMode?
Decodes the value to a TileMode. Supported values are:
decodeTimePickerThemeData(dynamic value, {bool validate = true}) TimePickerThemeData?
Decodes the given value to a TimePickerThemeData. This expects the value to have the following structure:
decodeToggleButtonsThemeData(dynamic value, {bool validate = true}) ToggleButtonsThemeData?
Decodes the given value to a ToggleButtonsThemeData. This expects the value to have the following structure:
decodeTooltipThemeData(dynamic value, {bool validate = true}) TooltipThemeData?
Decodes the given value to a TooltipThemeData. This expects the value to have the following structure:
decodeTooltipTriggerMode(dynamic value, {bool validate = true}) TooltipTriggerMode?
Decodes the value to a TooltipTriggerMode. Supported values are:
decodeTypography(dynamic value, {bool validate = true}) Typography?
Decodes the given value to a Typography. This expects the value to have the following structure:
decodeVerticalDirection(dynamic value, {bool validate = true}) VerticalDirection?
Decodes the value to a VerticalDirection. Supported values are:
decodeVisualDensity(dynamic value, {bool validate = true}) VisualDensity?
Decodes the value to a VisualDensity. Supported values are:
decodeWrapAlignment(dynamic value, {bool validate = true}) WrapAlignment?
Decodes the value to a WrapAlignment. Supported values are:
decodeWrapCrossAlignment(dynamic value, {bool validate = true}) WrapCrossAlignment?
Decodes the value to a WrapCrossAlignment. Supported values are: