flutter_text_viewer
flutter_text_viewer is a text viewer package to load text from asset,file or direct string.
Demo
Features
- Load text from assets/file or string
- View text
- Search text
Getting started
flutter_text_viewer: ^0.0.1
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,
)
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.