Buscar pacotes, repositórios e categorias de apps

Detalhes do pacotev0.4.7

attributed_text

Texto com intervalos de metadados para edição e estilização fáceis.

AndroidiOSWebmacOSWindowsLinux
Downloads em 30 dias
44,7 mil
Curtidas
31
Pontos Pub
140

Instalar pacote

flutter pub add attributed_text

Visão geral do pacote

Orientação gerada a partir de informações públicas. Apenas para referência.

Um pacote Flutter/Dart que permite o tratamento de texto rico ao anexar spans de metadados ao texto, facilitando edição e formatação precisa. Permite que desenvolvedores gerenciem textos formatados com atributos embutidos, como cor, fonte ou links, tornando-o ideal para editores de texto, aplicativos de anotações e interfaces ricas em conteúdo. O pacote suporta múltiplas plataformas, incluindo mobile, web e desktop, garantindo comportamento consistente entre dispositivos. Desenvolvido com foco em extensibilidade, integra-se bem a sistemas existentes de renderização de texto.

Casos de uso

  • edição de texto rico em aplicativos de anotações
  • Estilizando texto com atributos dinâmicos
  • Implementando editores de texto colaborativos
  • Adicionando hiperlinks dentro do texto
  • Análise e renderização de conteúdo formatado

Principais recursos

  • Faixas de metadados para formatação de texto
  • Suporte multiplataforma
  • Sistema de atributos extensível
  • Integração contínua com widgets de texto do Flutter
  • Suporte para manipulação de texto complexa

Indicado para

  • Desenvolvedores construindo editores de texto avançados
  • Aplicativos que exigem entrada de texto rico
  • Projetos que precisam de texto estilizado ou interativo
  • Equipes trabalhando em aplicativos de texto multiplataforma
  • Componentes de interface com estilização dinâmica de texto

Considerações

  • Requer conhecimento dos conceitos de intervalo de texto
  • Pode aumentar a complexidade para exibições simples de texto
  • Impacto no desempenho com corpos de texto grandes
  • Gerenciamento de estado cuidadoso necessário para edições
  • Documentação limitada além do uso básico

README original

Snapshot do README original do repositório-fonte vinculado. Consulte o repositório para o conteúdo mais recente.

Super Editor
Open source, configurable, extensible text editor and document renderer for Flutter.

Super Editor works with any backend. Plug yours in and go!


Super Editor was initiated by Superlist and is implemented and maintained by the Flutter Bounty Hunters, Superlist, and the contributors.




A Note on Releases (June, 2024):
We've been busy at work on core editor improvements like undo/redo, a stable editor pipeline, and useful editor reactions. These APIs have evolved a lot, so we haven't cut a standard release in a long time. We're still evolving those APIs right now.

Rest assured, Super Editor and the other projects in this repo are under regular development. We're still here and working hard.

We're now starting to publish developer releases of Super Editor so that the community can see what we've been working on.

As a reminder, your project doesn't need to use Pub to use Super Editor. You can depend directly on this GitHub repository to keep up with the latest changes. Please check the section below about our Git branches.




A Note on Branches:
Do you use Flutter's stable branch? Be sure to checkout super_editor's stable branch, for compatibility.
Do you use Flutter's master branch? Be sure to checkout super_editor's main branch, for compabitility.


Super Editor

Super Editor & Super Text Field

Please see the SuperEditor README about how to use the packages, or run the sample editor.

A web demo is accessible at https://superlist.com/SuperEditor.


We're building an entire toolkit!

You might notice that this is a mono-repo, which includes multiple projects. That's because we're not just building an editor. We're building a document editing toolkit. In fact, we're revolutionizing all text layout and editing with Flutter! Check out some of our supporting projects.

Super Editor Super Text Layout Attributed Text

Mono-repo Versioning

If you have compilation errors when using the GitHub version of super_editor, try overriding dependencies for the other packages in this mono-repo, e.g., super_editor_markdown, super_text_layout, and attributed_text. This project often makes changes to multiple packages within the mono-repo, which requires that you use the latest main or stable version of every package.

You can override your dependencies as follows:

dependency_overrides:
  super_editor:
    git:
      url: https://github.com/superlistapp/super_editor
      path: super_editor
      ref: stable # or "main"
  super_editor_markdown:
    git:
      url: https://github.com/superlistapp/super_editor
      path: super_editor_markdown
      ref: stable
  super_text_layout:
    git:
      url: https://github.com/superlistapp/super_editor
      path: super_text_layout
      ref: stable
  attributed_text:
    git:
      url: https://github.com/superlistapp/super_editor
      path: attributed_text
      ref: stable

Categorias

Dependências

Lista de dependências 5 itens

Repositório-fonte

Projetos que usam este pacote

Ainda não há dados.