substring_highlight 1.0.24 copy "substring_highlight: ^1.0.24" to clipboard
substring_highlight: ^1.0.24 copied to clipboard

outdated

Highlight Flutter text at the character-level for customizable and simple search term highlighting.

example/lib/main.dart

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

void main() {
  WidgetsFlutterBinding.ensureInitialized();
  runApp(new MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return new MaterialApp(
      home: Scaffold(
          body: Center(
              child: SubstringHighlight(
                  text: 'this highlights all the th\'s', term: 'th'))),
    );
  }
}
187
likes
0
pub points
98%
popularity

Publisher

verified publisheronlyup.com

Highlight Flutter text at the character-level for customizable and simple search term highlighting.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on substring_highlight