text_link 1.0.0 copy "text_link: ^1.0.0" to clipboard
text_link: ^1.0.0 copied to clipboard

This Flutter package simplifies text rendering with embedded URLs, enabling users to tap on any URL within the text to open the link.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:text_link/text_link.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Text Link',
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Text Link'),
        ),
        body: const Center(
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: <Widget>[
              LinkText(
                text: "Check out https://www.void.krd for more information.",
              )
            ],
          ),
        ),
      ),
    );
  }
}
6
likes
150
pub points
73%
popularity

Publisher

unverified uploader

This Flutter package simplifies text rendering with embedded URLs, enabling users to tap on any URL within the text to open the link.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, url_launcher

More

Packages that depend on text_link