JustAudioFactory mixin Null safety

A mixin that can build player for AUDIO.

Superclass Constraints

Properties

anchorRegistry → AnchorRegistry
Gets the current anchor registry. [...]
@protected, read-only, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

buildAudioPlayer(BuildMetadata meta, String url, {required bool autoplay, required bool loop, required bool muted, required bool preload}) Widget?
Builds AudioPlayer.
parse(BuildMetadata meta) → void
Parses meta for build ops and text styles.
override
buildAlign(BuildMetadata meta, Widget child, AlignmentGeometry alignment, {double? heightFactor, double? widthFactor}) Widget?
Builds Align.
inherited
buildAspectRatio(BuildMetadata meta, Widget child, double aspectRatio) Widget?
Builds AspectRatio.
inherited
buildBodyWidget(BuildContext context, Widget child) Widget
Builds body widget.
inherited
buildColumnPlaceholder(BuildMetadata meta, Iterable<WidgetPlaceholder> children) WidgetPlaceholder?
Builds column placeholder.
inherited
buildColumnWidget(BuildContext context, List<Widget> children, {TextDirection? dir}) Widget
Builds Column.
inherited
buildDecoration(BuildMetadata meta, Widget child, {BoxBorder? border, BorderRadius? borderRadius, Color? color, bool isBorderBox = true}) Widget?
Builds Decoration. [...]
inherited
buildDivider(BuildMetadata meta) Widget?
Builds 1-pixel-height divider.
inherited
buildGestureDetector(BuildMetadata meta, Widget child, GestureTapCallback onTap) Widget?
Builds GestureDetector.
inherited
buildHorizontalScrollView(BuildMetadata meta, Widget child) Widget?
Builds horizontal scroll view.
inherited
buildImage(BuildMetadata meta, ImageMetadata data) Widget?
Builds image widget from an ImageMetadata.
inherited
buildImageWidget(BuildMetadata meta, ImageSource src) Widget?
Builds Image.
inherited
buildListMarker(BuildMetadata meta, TextStyleHtml tsh, String listStyleType, int index) Widget?
Builds marker widget for a list item.
inherited
buildPadding(BuildMetadata meta, Widget child, EdgeInsetsGeometry padding) Widget?
Builds Padding.
inherited
buildText(BuildMetadata meta, TextStyleHtml tsh, InlineSpan text) Widget?
Builds RichText.
inherited
buildTextSpan({List<InlineSpan>? children, GestureRecognizer? recognizer, TextStyle? style, String? text}) InlineSpan?
Builds TextSpan.
inherited
buildTooltip(BuildMetadata meta, Widget child, String message) Widget?
Builds Tooltip.
inherited
dispose() → void
Called when the HtmlWidget's state is disposed.
@mustCallSuper, inherited
flatten(BuildMetadata meta, BuildTree tree) Iterable<WidgetPlaceholder>
Flattens a BuildTree into widgets.
inherited
gestureTapCallback(String url) GestureTapCallback?
Prepares GestureTapCallback.
inherited
getDependencies(BuildContext context) Iterable
Returns context-based dependencies. [...]
inherited
getListMarkerText(String type, int i) String
Returns marker text for the specified list style type at index i.
inherited
imageProviderFromAsset(String url) ImageProvider<Object>?
Returns an AssetImage.
inherited
imageProviderFromDataUri(String dataUri) ImageProvider<Object>?
Returns a MemoryImage.
inherited
imageProviderFromFileUri(String url) ImageProvider<Object>?
Returns a FileImage.
inherited
imageProviderFromNetwork(String url) ImageProvider<Object>?
Returns a NetworkImage.
inherited
onErrorBuilder(BuildContext context, BuildMetadata meta, [dynamic error, dynamic data]) Widget?
Builder for error widget if a complicated element failed to render. [...]
inherited
onLoadingBuilder(BuildContext context, BuildMetadata meta, [double? loadingProgress, dynamic data]) Widget?
Builder for loading widget while a complicated element is loading. [...]
inherited
onRoot(TextStyleBuilder rootTsb) → void
Prepares the root TextStyleBuilder.
inherited
onTapAnchor(String id, EnsureVisible scrollTo) Future<bool>
Ensures anchor is visible. [...]
inherited
onTapCallback(String url) Future<bool>
Calls HtmlWidget.onTapUrl with url. [...]
inherited
onTapUrl(String url) Future<bool>
Handles user tapping a link.
inherited
parseStyle(BuildMetadata meta, Declaration style) → void
Parses inline style key and value pair.
inherited
parseStyleDisplay(BuildMetadata meta, String? value) → void
Parses display inline style.
inherited
reset(State<StatefulWidget> state) → void
Resets for a new build.
@mustCallSuper, inherited
urlFull(String url) String?
Resolves full URL with HtmlWidget.baseUrl if available.
inherited
toString() String
A string representation of this object. [...]
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

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