fwfh_url_launcher 0.9.1 copy "fwfh_url_launcher: ^0.9.1" to clipboard
fwfh_url_launcher: ^0.9.1 copied to clipboard

WidgetFactory extension to launch A tag via url_launcher plugin.

example/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_widget_from_html_core/flutter_widget_from_html_core.dart';
import 'package:fwfh_url_launcher/fwfh_url_launcher.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'fwfh_url_launcher',
      home: Scaffold(
        appBar: AppBar(
          title: const Text('UrlLauncherFactory Demo'),
        ),
        body: Center(
          child: HtmlWidget(
            '<a href="https://flutter.dev">Launch URL</a>',
            factoryBuilder: () => MyWidgetFactory(),
          ),
        ),
      ),
    );
  }
}

class MyWidgetFactory extends WidgetFactory with UrlLauncherFactory {}
9
likes
160
pub points
95%
popularity

Publisher

verified publisherdaohoangson.com

WidgetFactory extension to launch A tag via url_launcher plugin.

Repository (GitHub)
View/report issues

Topics

#fwfh

Documentation

API reference

Funding

Consider supporting this project:

patreon.com
buymeacoffee.com

License

MIT (license)

Dependencies

flutter, flutter_widget_from_html_core, url_launcher

More

Packages that depend on fwfh_url_launcher