Buscar pacotes, repositórios e categorias de apps

Repositório GitHubaleksanderwozniak/link_text

link_text

Widget de texto fácil de usar para aplicativos Flutter, que converte URLs embutidas em links clicáveis funcionais

Capa do projeto link_text
Estrelas
24
Forks
20
Último push (UTC)
17 de fev. de 2024
Status do projeto
Ativo

README original

Texto original em inglês. Visite o GitHub para a versão atual.

LinkText

Pub Package

Easy to use text widget for Flutter apps, which converts inlined URLs into clickable links. Allows custom styling.

Image

Usage

LinkText widget does not require any setup. Simply pass a String with inlined URLs, and the widget will take care of the rest.

final String _text = 'Lorem ipsum https://flutter.dev\nhttps://pub.dev';

@override
Widget build(BuildContext context) {
  return Scaffold(
    body: Center(
      child: LinkText(
        _text,
        textAlign: TextAlign.center,
        // You can optionally handle link tap event by yourself
        // onLinkTap: (url) => ...
      ),
    ),
  );
}
Installation

Add to pubspec.yaml:

dependencies:
  link_text: ^0.2.1

For more info, check out example project.

Aleksander Woźniak GitHub avatar
Autor no GitHub

Aleksander Woźniak ↗

Flutter and Kotlin enthusiast

LinguagensDartRubySwiftKotlinObjective-C

Categorias

Pacotes publicados por este repositório

Dependências usadas

Lista de dependências 3 itens

  • flutter{"sdk":"flutter"}
  • url_launcher^6.2.4
  • flutter_testDesenvolvimento{"sdk":"flutter"}

Como escolher um repositório para seu projeto?

Filtre pelo caso de uso, compare a atividade e confira o projeto original antes de adotá-lo.

  1. Busque por nome, autor ou descrição e filtre por tema.
  2. Compare estrelas, forks e envios recentes. Estrelas indicam interesse, mas não garantem qualidade.
  3. Confira o README, a licença e as issues no GitHub antes de usar o projeto.

Fontes e manutenção

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗