d_input 1.4.0 copy "d_input: ^1.4.0" to clipboard
d_input: ^1.4.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: TextEditingController(),
  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)}');
  },
),

Input File #

alt

DInputFile(
  controller: TextEditingController(),
  filePicked: (xFile) {
    print('xFile = ${xFile?.name}');
  },
),

Screenshot #

d_input1 d_input2

Tutorial : #

Watch

Support : #

Support me for more feature & packages Donate

Additional information #

Check my app : Visit

Check My Tutorial & Course : Watch

2
likes
150
points
508
downloads

Publisher

verified publisherindratrisnar.com

Weekly Downloads

Build faster input with default border style

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

file_picker, flutter, image_picker, intl

More

Packages that depend on d_input