side_inputs 0.0.2 copy "side_inputs: ^0.0.2" to clipboard
side_inputs: ^0.0.2 copied to clipboard

unlisted

side input posts for post like, email, name , username, creditcard, and custom post builder.

side_inputs #

Getting Started #

In your flutter project add the dependency:

    dependencies:
    ...
        side_inputs: ^1.0.1  

Usage #

Importing package

import 'package:side_inputs/side_inputs.dart';

Using side_inputs

@override
 Widget build(BuildContext context) {
    final size = MediaQuery.of(context).size;
    final i = 1.i(mediaSize: size);
    return Scaffold(
      body: Container(
        child: Form(
          key: formKey,
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: [
              SideText(
                text: 'This is the best fried chicken I have had all day.',
                border: false,
              ),
              SideText(
                text: 'This is the best fried chicken I have had all day. With borders',
              ),
              EmailInput(
                inputKey: 'email',
                isValid: false,
                autoValidate: true,
                onEditCompleteDone: false,
                onChanged: (_) {},
              ),
              EmailInput(
                inputKey : 'email',
                isValid: false,
                autoValidate: true,
                onEditCompleteDone: false,
              ),
              NameInput(inputKey: 'name', isValid: false, autoValidate: true),
            ],
          ),
        ),
      ),
    );
  }
}

final GlobalKey<FormState> formKey = GlobalKey<FormState>();


1
likes
45
points
5
downloads

Publisher

unverified uploader

Weekly Downloads

side input posts for post like, email, name , username, creditcard, and custom post builder.

Homepage

License

BSD-3-Clause (license)

Dependencies

auto_size_text, flutter, flutter_hooks, fzregex, i_sizing, wc_form_validators

More

Packages that depend on side_inputs