패키지, 저장소 및 앱 카테고리 검색

패키지 상세v0.4.7

attributed_text

간편한 텍스트 편집 및 스타일링을 위한 메타데이터 스팬이 있는 텍스트.

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
4.5만
좋아요
31
Pub 점수
140

패키지 설치

flutter pub add attributed_text

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

텍스트에 메타데이터 스팬을 첨부함으로써 풍부한 텍스트 처리를 가능하게 하는 플러터/다트 패키지입니다. 정밀한 편집과 스타일링을 용이하게 합니다. 개발자는 색상, 폰트 또는 링크와 같은 임베디드 속성을 가진 형식화된 텍스트를 관리할 수 있으며, 텍스트 편집기, 노트 앱 및 콘텐츠가 풍부한 인터페이스에 적합합니다. 모바일, 웹, 데스크톱 등 여러 플랫폼을 지원하며 장치 간 일관된 동작을 보장합니다. 확장성에 중점을 두어 기존 텍스트 렌더링 시스템과 잘 통합됩니다.

사용 사례

  • 노트 앱에서의 리치 텍스트 편집
  • 동적 속성을 사용한 텍스트 스타일링
  • 협업 텍스트 에디터 구현
  • 텍스트 내에서 하이퍼링크 추가
  • 형식화된 콘텐츠 파싱 및 렌더링

주요 기능

  • 메타데이터 범위는 텍스트 형식 지정에 사용됩니다
  • 크로스 플랫폼 지원
  • 확장 가능한 속성 시스템
  • Flutter 텍스트 위젯과의 원활한 통합
  • 복잡한 텍스트 조작 지원

적합한 대상

  • 고급 텍스트 에디터를 개발하는 개발자
  • 풍부한 텍스트 입력이 필요한 앱
  • 스타일링되거나 상호작용 가능한 텍스트가 필요한 프로젝트
  • 다중 플랫폼 텍스트 애플리케이션 개발에 종사하는 팀
  • 동적 텍스트 스타일이 있는 UI 구성 요소

고려 사항

  • 텍스트 스팬 개념에 대한 이해가 필요합니다
  • 간단한 텍스트 표시에 대한 복잡성을 증가시킬 수 있습니다
  • 큰 텍스트 본문의 성능 영향
  • 편집 시 주의 깊은 상태 관리가 필요합니다
  • 기본 사용법 외에 문서가 제한적

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

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

카테고리

의존성

의존성 목록 5 개

소스 저장소

이 패키지를 사용하는 프로젝트

아직 데이터가 없습니다.