modules/theming/theming library

Classes

TaskStatusTheme
Theme extension for MoodleTask.status.
ThemeBase
Contains some basic information about a theme which is later used to generate a fully fledged theme.
ThemeGeneratorService<Theme>
A service that generates a theme of type Theme based on a ThemeBase.
ThemeRepository
A repository that manages the current theme.
ThemesDatasource
A datasource providing all available themes.
ThemingModule
Module that provides theming-related services.

Extensions

ThemeUtils on ThemeData
Adds a TaskStatusTheme getter to ThemeData.

Functions

squircle({BorderSide side = BorderSide.none, double radius = 10, bool topLeft = true, bool topRight = true, bool bottomLeft = true, bool bottomRight = true, bool left = true, bool right = true, bool top = true, bool bottom = true, BorderAlign borderAlign = BorderAlign.inside}) → SmoothRectangleBorder
Creates a squircle border with the given radius.