rich_textfield 1.0.0

  • Example
  • Installing
  • Versions
  • 62

rich_textfield #


The example screen shot

使用方法 #

import 'package:rich_textfield/rich_textfield.dart';
MyTextEditingController _editCtrl = new MyTextEditingController(
  topicStyle: new TextStyle(
    fontWeight: FontWeight.bold,
    color: Colors.yellow
  atStyle: new TextStyle(
    fontWeight: FontWeight.bold,
  emojiImgSourceType: EmojiImgSourceType.asset

Widget ret = new MyTextField(
  controller: _editCtrl,
  focusNode: _focusNode,
  style: new TextStyle(
    fontSize: 20,
    color: const Color.fromARGB(255, 180, 180, 180)

[0.0.1] - TODO: Add release date.

  • TODO: Describe initial release.


hello_rich #

A new Flutter project.

Getting Started #

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  rich_textfield: ^1.0.0

2. Install it

You can install packages from the command line:

with Flutter:

$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:rich_textfield/rich_textfield.dart';
Version Uploaded Documentation Archive
1.0.0 Feb 26, 2019 Go to the documentation of rich_textfield 1.0.0 Download rich_textfield 1.0.0 archive
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Jun 25, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.3.2
  • pana: 0.12.18
  • Flutter: 1.5.4-hotfix.2


Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Health issues and suggestions

Fix lib/edit/my_editable_text.dart. (-25 points)

Analysis of lib/edit/my_editable_text.dart failed with 1 error:

line 398 col 7: Missing concrete implementation of TextInputClient.updateFloatingCursor.

Format lib/edit/my_editable.dart.

Run flutter format to format lib/edit/my_editable.dart.

Format lib/edit/my_text_editing_controller.dart.

Run flutter format to format lib/edit/my_text_editing_controller.dart.

Fix additional 4 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/edit/my_text_field.dart (Run flutter format to format lib/edit/my_text_field.dart.)
  • lib/edit/my_text_selection.dart (Run flutter format to format lib/edit/my_text_selection.dart.)
  • lib/info.dart (Run flutter format to format lib/info.dart.)
  • lib/rich_textfield.dart (Run flutter format to format lib/rich_textfield.dart.)

Maintenance issues and suggestions

Support latest dependencies. (-5 points)

The version constraint in pubspec.yaml does not support the latest published versions for 1 dependency.

The package description is too short. (-20 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.68.0 <3.0.0
flutter 0.0.0
Transitive dependencies
collection 1.14.11
meta 1.1.6 1.1.7
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies