An instagram like text editor widget for flutter

TextEditor

An Instagram like text editor Flutter widget that helps you to change your text style.

Features

  • Edit TextStyle object
    • font color
    • font family
    • font size
  • Edit TextAlign

Screenshot

Installation

Add text_editor: ^0.1.3 to your pubspec.yaml dependencies. And import it:

import 'package:texte_editor/text_editor.dart';

How to use

Simply create a TextEditor widget, and pass the required params:

TextEditor(
  fonts: fonts,
  text: text,
  textStyle: textStyle,
  textAlingment: textAlign,
  onEditCompleted: (style, align, text) {
    setState(() {
      _text = text;
      _textStyle = style;
      _textAlign = align;
    });
  },
)

For more information see examples

GitHub

https://github.com/mehdizarepour/text_editor