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

This Flutter package is designed to simplify text rendering with embedded URLs. It allows users to tap on any URL in the text (even at the beginning, end, or if the URL format is incorrect) 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
0
pub points
73%
popularity

Publisher

unverified uploader

This Flutter package is designed to simplify text rendering with embedded URLs. It allows users to tap on any URL in the text (even at the beginning, end, or if the URL format is incorrect) to open the link.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, url_launcher

More

Packages that depend on text_link