Last updated:
0 purchases
flutter markdown editor
A flutter package for a readme editor.
Usage #
Add dev dependency to your pubspec.yaml:
dev_dependencies:
flutter_markdown_editor: ^0.0.1
copied to clipboard
Run flutter pub get to install.
How it works #
Import
import 'package:stack/stack.dart';
copied to clipboard
Initialize
TextEditingController controller = TextEditingController();
final MarkDownEditor markDownEditor = MarkDownEditor(controller: controller);
copied to clipboard
Vertical
markDownEditor.vertical()
copied to clipboard
In place
markDownEditor.inPlace()
copied to clipboard
Access widget pieces for a custom view
markDownEditor.field // to get the editing filed
markDownEditor.preview // to get the preview widget
markDownEditor.icons // to get the editing icons (buttons)
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.