search_select 1.0.3 copy "search_select: ^1.0.3" to clipboard
search_select: ^1.0.3 copied to clipboard

A Flutter widget for search and multi-select functionality with dropdown list.

example/lib/main.dart

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

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

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

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Search select example',
      home: Scaffold(
        body: Padding(
          padding: const EdgeInsets.all(8.0),
          child: SearchSelect<String>(
            items: [],
            label: '',
            selectedItems: [],
            // itemsStyleType: ItemsStyleType.text,
            // items: [
            //   "item 01",
            //   "item 02",
            //   "item 03",
            //   "item 04",
            //   "item 05",
            // ],
            // label: 'Multiple selection',
            // allowMultiple: false,
            // showDeleteButton: false,
            // selectedItems: [],
            // onChange: (values) {
            //   // change your variable list here
            // },
          ),
        ),
      ),
    );
  }
}
4
likes
0
points
47
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter widget for search and multi-select functionality with dropdown list.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on search_select