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

Flutter widget to find, highlight, and enable taps on specific text patterns.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_highlighted_text/flutter_highlighted_text.dart';

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

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

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: Scaffold(
        body: Center(
          child: HighlightedText(
            'Hello World!',
            patterns: ['World'],
            highLightStyle: TextStyle(
              color: Colors.red,
              fontWeight: FontWeight.bold,
            ),
          ),
        ),
      ),
    );
  }
}
1
likes
150
points
27
downloads

Publisher

verified publishermisomenze.info

Weekly Downloads

Flutter widget to find, highlight, and enable taps on specific text patterns.

Repository (GitHub)
View/report issues

Topics

#highlight #text #regular-expression #search #tap

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_highlighted_text