label_textfield_widget

Flutter widget that porting from JVFloatLabeledTextField in swift

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

Resources:

Demo:

Usage

Use the package

import 'package:label_textfield_widget/label_textfield_widget.dart';

LabelTextFieldWidget(
    hintText: 'First Name',
    showClearBtn: true,
    showBorder: false,
    lblNormalStyle: TextStyle(
        color: Colors.black,
    ),
    lblHighlightStyle: TextStyle(
        color: Colors.red,
    ),
)

Parameters

ParameterDescription
hintText*The hintText of TextField widget.
showClearBtnbool type which supports clear all text.
showBorderbool type.
lblNormalStyleTextStyle type. You can adjust the text style of smaller text when textfield has no text input.
lblHighlightStyleTextStyle type. You can adjust the text style of smaller text when textfield has text input.

Created & Maintained By

Trong Dinh (@trongdth)

If you found this project helpful or you learned something from the source code and want to thank me, consider buying me a cup of ☕

  • Ethereum address: 0x9a1592C20A15f99AbB6b69E199f38D50Fa8372Ac
  • EOS account: zcryptoman1z

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.

Libraries

label_textfield_widget