Skip to main content

nishtha_dropdown_kit 0.0.5 copy "nishtha_dropdown_kit: ^0.0.5" to clipboard
nishtha_dropdown_kit: ^0.0.5 copied to clipboard

A fully customizable Flutter dropdown with search, debounce, pagination, and theme-aware styling.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:nishtha_dropdown_kit/nishtha_dropdown_kit.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'SmartDropDown Demo',
      theme: ThemeData(colorScheme: .fromSeed(seedColor: Colors.deepPurple)),
      home: const MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({super.key});

  static const _fruits = ['Apple', 'Banana', 'Cherry', 'Date', 'Elderberry'];

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('SmartDropDown Demo')),
      body: Padding(
        padding: const EdgeInsets.all(16),
        child: SmartDropDown<String>(
          items: _fruits,
          hintText: 'Pick a fruit',
          isSearch: true,
          onItemSelected: (item) => debugPrint('Selected: $item'),
        ),
      ),
    );
  }
}
1
likes
160
points
460
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A fully customizable Flutter dropdown with search, debounce, pagination, and theme-aware styling.

Repository (GitHub)

License

MIT (license)

Dependencies

flutter

More

Packages that depend on nishtha_dropdown_kit