fwfh_url_launcher 0.6.0-rc.2021022601 copy "fwfh_url_launcher: ^0.6.0-rc.2021022601" to clipboard
fwfh_url_launcher: ^0.6.0-rc.2021022601 copied to clipboard

outdated

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(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'fwfh_url_launcher',
      home: Scaffold(
        appBar: AppBar(
          title: 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
0
points
191k
downloads

Publisher

verified publisherdaohoangson.com

Weekly Downloads

WidgetFactory extension to launch A tag via url_launcher plugin.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, flutter_widget_from_html_core, url_launcher

More

Packages that depend on fwfh_url_launcher