substring_highlight 0.1.0 substring_highlight: ^0.1.0 copied to clipboard
Highlight Flutter text at the character-level for customizable and simple search term highlighting.
import 'package:flutter/material.dart';
import 'package:substring_highlight/substring_highlight.dart';
void main() => runApp(new MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return new MaterialApp(
home: Scaffold(
body: Center(
child: SubstringHighlight(
text: 'search me for search terms', term: 'search'))),
);
}
}