flutter_text_viewer 0.0.6 copy "flutter_text_viewer: ^0.0.6" to clipboard
flutter_text_viewer: ^0.0.6 copied to clipboard

Flutter textviewer package provide easy and simple way to load and search text from assets,file and even direct input string.

flutter_text_viewer #

flutter_text_viewer is a simple text viewer package to load and search text from assets,file.

Demo #

Image

Features #

  • Load text from assets/file or string
  • View text
  • Search text

Getting started #

flutter_text_viewer: ^0.0.4

Import the library:

import 'package:flutter_text_viewer/flutter_text_viewer.dart';

Usage #

TextViewerPage(
   textViewer: TextViewer.asset(
      'assets/test.txt',
      highLightColor: Colors.yellow,
      focusColor: Colors.orange,
      ignoreCase: true,
      ),
   showSearchAppBar: true,
   )

Todo #

  • Pagination for large text file
  • AppBar enhancement

Note #

Feel free to fork and send pull request

If you have any questions, feedback or ideas, feel free to create an issue. If you enjoy this project, I'd appreciate your 🌟 on GitHub.

You can also buy me a cup of coffee #

10
likes
160
pub points
86%
popularity

Publisher

unverified uploader

Flutter textviewer package provide easy and simple way to load and search text from assets,file and even direct input string.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_text_viewer