awesome_style_field 0.0.1 copy "awesome_style_field: ^0.0.1" to clipboard
awesome_style_field: ^0.0.1 copied to clipboard

outdated

Awesome Text Field With Rich text !!

🌈 Awesome Style Field #

Features #

  • AwesomeStyleField
  • AwesomeStyleFormField
  • AwesomeTextController
  • AwesomeKeyword

Support Platforms #

  • Flutter Android
  • Flutter iOS
  • Flutter Web
  • Flutter Desktop


Usage #

Add the package to pubspec.yaml

dependencies:
  awesome_style_field: ^<latest-version>

After that import the package

import 'package:awesome_style_field/awesome_style_field.dart';

TextField or TextFormField #

Add Parameters #

  final AwesomeTextController? controller;
  final List<AwesomeKeyword>? keywords;

AwesomeKeyword #

class AwesomeKeyword {
  final String text;
  final TextStyle? style;
  final bool isDuplicate;
  final bool isLetterCase;

  const AwesomeKeyword({
    required this.text,
    this.style,
    this.isDuplicate = true,
    this.isLetterCase = true,
  });
}

AwesomeTextController #

AwesomeTextController controller = AwesomeTextController(initValue: "Tyger");

Example #

Tags

List<AwesomeKeyword> keywords = [
  AwesomeKeyword(
    text: "Created",
    style: TextStyle(
      color: Colors.indigo,
      fontWeight: FontWeight.bold,
    ),
  ),
  AwesomeKeyword(
    text: "Tyger",
    style: TextStyle(
      color: Colors.pink,
      fontWeight: FontWeight.bold,
    ),
  ),
],

Style

AwesomeKeyword(
  text: "Created",
  style: TextStyle(
    color: Colors.limeAccent,
    fontSize: 24,
    fontStyle: FontStyle.italic,
    fontWeight: FontWeight.bold,
  ),
),

isDupicate

isLetterCase

Created by Tyger Github

12
likes
0
points
19
downloads

Publisher

unverified uploader

Weekly Downloads

Awesome Text Field With Rich text !!

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on awesome_style_field