v0.2.1link_text
Flutter ऐप्स के लिए आसानी से उपयोग करने वाला टेक्स्ट विजेट, जो इनलाइन URL को क्लिक करने योग्य लिंक में बदलता है। कस्टम स्टाइलिंग की अनुमति देता है।
49लाइक 3 हज़ार30-दिन डाउनलोड140Pub अंक
AndroidiOSWebmacOSWindowsLinux
Flutter ऐप्स के लिए आसान उपयोग करने वाला टेक्स्ट विजेट, जो एम्बेडेड यूआरएल को कार्यात्मक, क्लिक करने योग्य लिंक में बदलता है
{"sdk":"flutter"}^6.2.4{"sdk":"flutter"}यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
Easy to use text widget for Flutter apps, which converts inlined URLs into clickable links. Allows custom styling.
Image
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.