linkwell 0.1.9
linkwell: ^0.1.9

Flutter Android iOS web

LinkWell is Text Plugin that detects URLs and Emails in a String and when tapped opens in users browsers,

example/lib/main.dart

import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:linkwell/linkwell.dart';

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

class MyApp extends StatelessWidget {

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'LinkWell Example',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'LinkWell Example'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);
  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  
  
  @override
  Widget build(BuildContext context) {

    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      
      body: Container(
        child:  Center(
          child: Column(
              crossAxisAlignment: CrossAxisAlignment.center,
                mainAxisAlignment: MainAxisAlignment.center,
                children: <Widget>[

                  SizedBox(
                    height: 10,
                  ),
                  LinkWell(
                    "Hi here's my email: samuelezedi@gmail.com and website: https://pronoun.com.ng",
                  )
                ],
              ),
        ),


      ),
    );
  }
}
15
likes
100
pub points
77%
popularity

Publisher

samuelezedi.com

LinkWell is Text Plugin that detects URLs and Emails in a String and when tapped opens in users browsers,

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD (LICENSE)

Dependencies

flutter, url_launcher

More

Packages that depend on linkwell