material_neumorphic_textfield

Last updated:

0 purchases

material_neumorphic_textfield Image
material_neumorphic_textfield Images
Add to Cart

Description:

material neumorphic textfield

Material Neumorphic TextField #
Part of Material Neumorphic widgets suit.
Usage #
A Neumorphic TextField
Add properties than origin TextField:
final NeumorphicStyle? neumorphicStyle;
final EdgeInsets? margin;
final EdgeInsets? padding;
final Color? color;
final double? depth;
final BorderRadius borderRadius;
copied to clipboard
Example:
build(context) {
return Column(
children: [
NeumorphicTextField(
margin: const EdgeInsets.symmetric(vertical: 12),
borderRadius:
const BorderRadius.all(Radius.circular(12.0)),
depth: -4,
initialValue: name,
decoration: const InputDecoration(
labelText: 'Name',
contentPadding:
EdgeInsets.symmetric(horizontal: 12, vertical: 8),
),
onChanged: (value) {
setState(() {
name = value;
});
},
),
NeumorphicTextFormField(
margin: const EdgeInsets.symmetric(vertical: 12),
borderRadius:
const BorderRadius.all(Radius.circular(12.0)),
depth: -4,
initialValue: name,
decoration: const InputDecoration(
labelText: 'Name',
contentPadding:
EdgeInsets.symmetric(horizontal: 12, vertical: 8),
),
onChanged: (value) {
setState(() {
name = value;
});
},
),
]
);
}
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.