Last updated:
0 purchases
inputs components
inputs_components #
A new plugin created with the Mason CLI.
Usage #
import 'package:inputs_components/inputs_components.dart';
class HomeScreen extends StatelessWidget {
const HomeScreen({
super.key,
});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text('Flutter Demo Home Page'),
),
body: Padding(
padding: const EdgeInsets.all(8.0),
child: Column(
children: [
emailInput(
label: "Email",
controller: TextEditingController(),
textInputAction: TextInputAction.next, /// optional
),
passwordInput(
label: "Password",
controller: TextEditingController(),
customValidator: (value) => value.length > 6, /// optional
),
],
),
),
}
}
copied to clipboard
Rendering #
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.