d_input 1.3.0
d_input: ^1.3.0 copied to clipboard
Build faster input with default border style
D'Input is a package that provide input widget to build faster input with default border style
Usage #
Input Basic #
[alt]
DInput(
hint: 'Type here...',
title: 'Send Message',
prefixIcon: const IconSpec(icon: Icons.message),
leftChildren: [
IconButton(
onPressed: () {},
icon: const Icon(Icons.file_copy),
),
IconSpec(
icon: Icons.image,
onTap: () {},
).build(context),
],
rightChildren: [
IconButton(
onPressed: () {},
icon: const Icon(Icons.note_add_rounded),
),
IconSpec(
icon: Icons.mic,
onTap: () {},
).build(context),
],
suffixIcon: IconSpec(icon: Icons.send, onTap: () {}),
inputBackgroundColor: Colors.purple.shade100,
inputPadding: const EdgeInsets.symmetric(
horizontal: 16,
vertical: 12,
),
inputRadius: 10,
),
Input Image #
[alt]
DInputImage(
controller: controllerTest,
imagePicker: ImagePicker(),
imagePicked: (xFile) {
print('xFile = ${xFile?.name}');
},
),
Input Date #
[alt]
DInputDate(
controller: TextEditingController(),
datePicked: (date) {
print('date = ${date.toString()}');
},
),
Input Time #
[alt]
DInputTime(
controller: TextEditingController(),
timePicked: (time) {
print('time = ${time?.format(context)}');
},
),
Screenshot #


Tutorial : #
Support : #
Support me for more feature & packages Donate
Additional information #
Check my app : Visit
Check My Tutorial & Course : Watch