tailwind_components 0.0.48 copy "tailwind_components: ^0.0.48" to clipboard
tailwind_components: ^0.0.48 copied to clipboard

Flutter components based on Tailwind CSS.

Flutter components based on Tailwind CSS.

Features #

Features Status
TWColors Library ✔️
Input Field Widget ✔️
Validators Library ✔️
TaskCard Widget ✔️
RoundedButton Widget ✔️
GradientButton Widget ✔️
SpaceCol Widget ✔️
TWWrapper Widget ✔️
Modal Function ✔️
SpaceRow Widget ✔️

Usage #

Here are some examples how to use some of the components

Colors

TWColors.red_600;
TWColors.indigo_600;
TWColors.emerald_400;

InputField

Form(
    key: _formKey,
    child: InputField(
        controller: _controller,
        color: TWColors.indigo_600,
        textCapitalization: TextCapitalization.none,
        keyboardType: TextInputType.emailAddress,
        validators: [Validators.isNotEmpty, Validators.isValidEmail],
        autovalidateMode: AutovalidateMode.always,
        label: 'Email *',
        placeholder: 'Enter your email',
        errorMessage: 'Custom error message',
        enableErrorIcon: true,
    ),
),

SpaceCol

SpaceCol(
    spaceBetween: 10,
    children: [],
),

SpaceRow

SpaceRow(
    spaceBetween: 10,
    children: [],
),

AutoGrid Automatically creates a grid with a specific amount of columns. All columns extent their height to the largest of the row.

AutoGrid(
    amountCols: 4,
    gap: 10,
    children: [],
),
4
likes
120
pub points
38%
popularity

Publisher

unverified uploader

Flutter components based on Tailwind CSS.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on tailwind_components