All Projects → mehdizarepour → instagram-text-editor

mehdizarepour / instagram-text-editor

Licence: MIT license
An Instagram like text editor Flutter widget that helps you to change your text style.

Programming Languages

dart
5743 projects
swift
15916 projects

Projects that are alternatives of or similar to instagram-text-editor

text-style-editor
Text style editor widget for flutter
Stars: ✭ 25 (-62.12%)
Mutual labels:  widget, text, text-editor, flutter-widget, dart-package
Motion-Tab-Bar
A beautiful animated flutter widget package library. The tab bar will attempt to use your current theme out of the box, however you may want to theme it.
Stars: ✭ 237 (+259.09%)
Mutual labels:  widget, flutter-widget, dart-package
Gradient Widgets
Flutter widgets wrapped with gradients
Stars: ✭ 290 (+339.39%)
Mutual labels:  widget, text
Qmarkdowntextedit
A C++ Qt QPlainTextEdit widget with markdown highlighting support and a lot of other extras
Stars: ✭ 182 (+175.76%)
Mutual labels:  widget, text-editor
Ananas
An easy image editor integration for your Android apps.
Stars: ✭ 186 (+181.82%)
Mutual labels:  instagram, text
CheckableTextView
A simple and flexible Checked TextView or Checkable TextView
Stars: ✭ 108 (+63.64%)
Mutual labels:  widget, text
backdrop
Backdrop implementation in flutter.
Stars: ✭ 203 (+207.58%)
Mutual labels:  widget, flutter-widget
insta-feed.js
Show your Instagram profile on your website. 🌈
Stars: ✭ 25 (-62.12%)
Mutual labels:  instagram, widget
Femto
A toy text editor with no dependencies written in Ruby
Stars: ✭ 34 (-48.48%)
Mutual labels:  text, text-editor
flutter sliding tutorial
User onboarding library with smooth animation of objects and background colors
Stars: ✭ 127 (+92.42%)
Mutual labels:  flutter-widget, dart-package
Inwidget
inWidget - free Instagram widget for your website. Allows you to show photos from an Instagram account, by hashtags and more.
Stars: ✭ 132 (+100%)
Mutual labels:  instagram, widget
svelte-slate
slate svelte view layer
Stars: ✭ 43 (-34.85%)
Mutual labels:  text, text-editor
incrementally loading listview
An extension of the Flutter ListView widget for incrementally loading items upon scrolling
Stars: ✭ 172 (+160.61%)
Mutual labels:  widget, flutter-widget
flutter json view
📄 Displaying json models in a Flutter widget
Stars: ✭ 28 (-57.58%)
Mutual labels:  widget, flutter-widget
Left
Distractionless Writing Tool
Stars: ✭ 1,538 (+2230.3%)
Mutual labels:  text, text-editor
Finalcut
A text-based widget toolkit
Stars: ✭ 244 (+269.7%)
Mutual labels:  widget, text
Zmjimageeditor
ZMJImageEditor is a picture editing component like WeChat. It is powerful and easy to integrate, supporting rendering, text, rotation, tailoring, mapping and other functions. (ZMJImageEditor 是一个和微信一样图片编辑的组件,功能强大,极易集成,支持绘制、文字、旋转、剪裁、贴图等功能)
Stars: ✭ 470 (+612.12%)
Mutual labels:  text, text-editor
Zep
Zep - An embeddable editor, with optional support for using vim keystrokes.
Stars: ✭ 477 (+622.73%)
Mutual labels:  text, text-editor
Photoeditor
A Photo Editor library with simple, easy support for image editing using paints,text,filters,emoji and Sticker like stories.
Stars: ✭ 3,105 (+4604.55%)
Mutual labels:  instagram, text-editor
flutter easyloading
✨A clean and lightweight loading/toast widget for Flutter, easy to use without context, support iOS、Android and Web
Stars: ✭ 1,021 (+1446.97%)
Mutual labels:  widget, flutter-widget

TextEditor

Version GitHub license

An instagram like text editor widget for flutter

Show some ❤️ and star the repo to support the project

Features

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

Screenshot

text_editor

Installation

Add text_editor: ^0.4.0 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,
  paletteColors: colors,
  text: text,
  textStyle: textStyle,
  textAlingment: textAlign,
  onEditCompleted: (style, align, text) {
    setState(() {
      _text = text;
      _textStyle = style;
      _textAlign = align;
    });
  },
)

Customize editor

If you need to customize the editor's design, you can use decoration and customize its items.

TextEditor(
  fonts: fonts,
  text: text,
  textStyle: textStyle,
  textAlingment: textAlign,
  decoration: EditorDecoration(
    doneButton: Icon(Icons.close, color: Colors.white),
    fontFamily: Icon(Icons.title, color: Colors.white),
    colorPalette: Icon(Icons.palette, color: Colors.white),
    alignment: AlignmentDecoration(
      left: Text(
        'left',
        style: TextStyle(color: Colors.white),
      ),
      center: Text(
        'center',
        style: TextStyle(color: Colors.white),
      ),
      right: Text(
        'right',
        style: TextStyle(color: Colors.white),
      ),
    ),
  ),
),

For more information see examples

MIT License

Copyright (c) 2020 Mehdi Zarepour

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].