UrlLauncherFactory mixin
A mixin that can launch A tag via url_launcher
plugin.
Properties
- anchorRegistry → AnchorRegistry
-
Gets the current anchor registry.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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.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 indexi
.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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
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
withurl
.inherited -
onTapUrl(
String url) → Future< bool> - Handles user tapping a link.
-
parse(
BuildMetadata meta) → void -
Parses
meta
for build ops and text styles.inherited -
parseStyle(
BuildMetadata meta, Declaration style) → void -
Parses inline style
key
andvalue
pair.inherited -
parseStyleDisplay(
BuildMetadata meta, String? value) → void -
Parses display inline style.
inherited
-
reset(
State< StatefulWidget> state) → void -
Resets for a new build.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
urlFull(
String url) → String? -
Resolves full URL with
HtmlWidget.baseUrl
if available.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited