dropify 0.0.2 copy "dropify: ^0.0.2" to clipboard
dropify: ^0.0.2 copied to clipboard

A customizable dropdown menu button for Flutter with multiple features (search, dynamic data, and various styles).

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:dropify/dropify.dart'; // Import Dropify package

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: Text('Dropify Example')),
        body: Center(
          child: DropifyDropdownButton<String>(
            data: ['Item 1', 'Item 2', 'Item 3', 'Item 4'],
            itemLabel: (item) => item,
            onItemSelected: (selectedItem) {
              print('Selected: $selectedItem');
            },
            designStyle:
                'fancy', // Design style options: 'material', 'fancy', 'cappuccino', 'simple'
            searchEnabled: true, // Enable search functionality
          ),
        ),
      ),
    );
  }
}
1
likes
140
points
17
downloads

Publisher

unverified uploader

Weekly Downloads

A customizable dropdown menu button for Flutter with multiple features (search, dynamic data, and various styles).

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on dropify

Packages that implement dropify