Skip to main content

flutter_textfiled_util 1.0.1 copy "flutter_textfiled_util: ^1.0.1" to clipboard
flutter_textfiled_util: ^1.0.1 copied to clipboard

outdated

The custom input box can implement the TextView function of iOS, that is, it can support multi-line text input, support basic text operations such as scrolling and maximum character limit, and is conv [...]

#flutter_textfiled_util

The custom input box can implement the TextView function of iOS, that is, it can support multi-line text input, support basic text operations such as scrolling and maximum character limit, and is convenient for users to input and edit text.

pub package Language

Import the library into the project #

dependecies:
  flutter_textfiled_util: ^(latest version)

And the following shows how to export that object #

import 'package:flutter_textfiled_util/flutter_textfiled_util.dart'

How to use custom_textfiled_util #

The custom input box can implement the TextView function of iOS, that is, it can support multi-line text input, support basic text operations such as scrolling and maximum character limit, and is convenient for users to input and edit text, etc.

How to use login_textfiled_util #

The login_textfiled_util is different from the login_textfiled_util input box: the focus of the input box is centered, and the input box has left and right buttons to meet the corresponding needs, etc.

How to use textfiled_util #

1、When the input state starts and ends, the background of the input box is gray and has no border 2、When inputting, and when the input is correct, the background color of the input box is white, with a blue border and a blue shadow on the outer edge 3、When entering, and when the input is wrong, the background color of the input box is white, with a red border, and a red shadow on the outer edge

How to use textview_util #

TextView is used to display editable text content on the screen, where users can enter, modify, delete, select text and other operations. Its appearance is similar to a text box, but unlike a text box, TextView can automatically scroll text content, support text styles and formatting, and respond to user touch events 1、When there is no focus and the input state is over, the background of the input box is gray and has no border 2、With focus, the background color of the input box is white, with a blue border and a blue shadow on the outer edge

How to use textinputformatter_util #

Custom TextInputFormatter text input filter

TextField(
    controller: widget.controller,
    focusNode: _focusNode,
    decoration: InputDecoration( ... ),
    inputFormatters: <TextInputFormatter>[
        RegexFormatter(regex: RegexUtil.regexNoNull),
        LengthLimitingTextInputFormatter(16) // 最大输入字数限制16
    ]
)
0
likes
0
points
41
downloads

Publisher

unverified uploader

Weekly Downloads

The custom input box can implement the TextView function of iOS, that is, it can support multi-line text input, support basic text operations such as scrolling and maximum character limit, and is convenient for users to input and edit text.

Homepage

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flutter_textfiled_util