D'Input is a package that provide input widget to build faster input with default border style
Usage
Input Basic
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
DInputImage(
controller: TextEditingController(),
imagePicked: (xFile) {
print('xFile = ${xFile?.name}');
},
),
Input Date
DInputDate(
controller: TextEditingController(),
datePicked: (date) {
print('date = ${date.toString()}');
},
),
Input Time
DInputTime(
controller: TextEditingController(),
timePicked: (time) {
print('time = ${time?.format(context)}');
},
),
Input File
DInputFile(
controller: TextEditingController(),
filePicked: (xFile) {
print('xFile = ${xFile?.name}');
},
),
Screenshot


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