smart_text_flutter 0.0.1 copy "smart_text_flutter: ^0.0.1" to clipboard
smart_text_flutter: ^0.0.1 copied to clipboard

A Flutter plugin used to detect links in texts using NSDataDetector on iOS and TextClassifier on Android

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:smart_text_flutter_example/smart_text.dart';

void main() {
  runApp(const SmartTextFlutterExample());
}

class SmartTextFlutterExample extends StatelessWidget {
  const SmartTextFlutterExample({super.key});

  @override
  Widget build(BuildContext context) {
    const text =
        'Here is a text with an address: 36 Lagos Street written at 9PM by someone with phone: +2340000000000 and you can reach him at reaching@email.com or you can check twitter.com';

    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Smart Text Flutter'),
        ),
        body: const Center(
          child: SmartText(text),
        ),
      ),
    );
  }
}
90
likes
0
points
314
downloads

Publisher

verified publisherdeveloperjamiu.com

Weekly Downloads

A Flutter plugin used to detect links in texts using NSDataDetector on iOS and TextClassifier on Android

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on smart_text_flutter