emphasize 1.1.1 copy "emphasize: ^1.1.1" to clipboard
emphasize: ^1.1.1 copied to clipboard

Lightweight customizable widget to highlight text, words or word groups within a text.

example/example.dart

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

void main() {
  runApp(const MaterialApp(home: HomePage()));
}

class HomePage extends StatelessWidget {
  const HomePage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    var emphasizedText = Emphasize(
      text: 'The quick brown Fox jumps over the lazy Dog',
      words: const <String>['brown fox', 'lazy dog'],
      caseSensitive: false,
    );

    return Scaffold(body: Center(child: emphasizedText));
  }
}
8
likes
130
pub points
23%
popularity

Publisher

verified publishercaylab.org

Lightweight customizable widget to highlight text, words or word groups within a text.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on emphasize