types/ui_overrides library
Classes
-
ComponentOverride<
TOptions> - Represents a component override with optional replacement or wrapper builders.
- ContainerStyleOptions
- Styling hooks for wrapping the primary container across MediaSFU experiences.
-
FunctionOverride<
TFunction extends Function> - Represents a function override that can either replace or wrap the default implementation.
- MediasfuUICustomOverrides
- Aggregates all supported UI override slots for the Flutter SDK.
Functions
-
withFunctionOverride<
TFunction extends Function> ({required TFunction base, FunctionOverride< TFunction> ? override}) → TFunction - Applies a function override to the provided default implementation.
-
withOverride<
TOptions> ({ComponentOverride< TOptions> ? override, required DefaultComponentBuilder<TOptions> baseBuilder}) → DefaultComponentBuilder<TOptions> - Applies a component override to the provided default builder.
Typedefs
-
DefaultComponentBuilder<
TOptions> = Widget Function(BuildContext context, TOptions options) - Signature for the default builder used by UI overrides.
-
OverrideRenderBuilder<
TOptions> = Widget Function(BuildContext context, TOptions options, DefaultComponentBuilder< TOptions> defaultBuilder) - Signature for wrap-based overrides that receive the default builder.