$ThemingClient class
Class ThemingController. handle ajax requests to update the theme.
Constructors
- $ThemingClient($Client _rootClient)
-
Creates a new
DynamiteClient
for theming requests.
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
-
$getImage_Request(
{required String key, ThemingGetImageUseSvg? useSvg}) → Request - Get an image.
-
$getImage_Serializer(
) → DynamiteSerializer< Uint8List, void> - Builds a serializer to parse the response of $getImage_Request.
-
$getManifest_Request(
{String? app}) → Request - Get the manifest for an app.
-
$getManifest_Serializer(
) → DynamiteSerializer< ThemingGetManifestResponseApplicationJson, void> - Builds a serializer to parse the response of $getManifest_Request.
-
$getThemeStylesheet_Request(
{required String themeId, ThemingGetThemeStylesheetPlain? plain, ThemingGetThemeStylesheetWithCustomCss? withCustomCss}) → Request - Get the CSS stylesheet for a theme.
-
$getThemeStylesheet_Serializer(
) → DynamiteSerializer< String, void> - Builds a serializer to parse the response of $getThemeStylesheet_Request.
-
getImage(
{required String key, ThemingGetImageUseSvg? useSvg}) → Future< DynamiteResponse< Uint8List, void> > - Get an image.
-
getManifest(
{String? app}) → Future< DynamiteResponse< ThemingGetManifestResponseApplicationJson, void> > - Get the manifest for an app.
-
getThemeStylesheet(
{required String themeId, ThemingGetThemeStylesheetPlain? plain, ThemingGetThemeStylesheetWithCustomCss? withCustomCss}) → Future< DynamiteResponse< String, void> > - Get the CSS stylesheet for a theme.
-
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