v0.2.1link_text
Flutter 앱용으로 사용하기 쉬운 텍스트 위젯으로, 내장된 URL을 클릭 가능한 링크로 변환합니다. 사용자 정의 스타일링을 지원합니다.
49좋아요 3.1천30일 다운로드140Pub 점수
AndroidiOSWebmacOSWindowsLinux
Flutter 앱용으로 사용하기 쉬운 텍스트 위젯으로, 내장된 URL을 작동하는 클릭 가능한 링크로 변환합니다
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
Easy to use text widget for Flutter apps, which converts inlined URLs into clickable links. Allows custom styling.
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) => ...
),
),
);
}
Add to pubspec.yaml:
dependencies:
link_text: ^0.2.1
For more info, check out example project.
의존성 목록 3 개
{"sdk":"flutter"}^6.2.4{"sdk":"flutter"}사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗