select2dot1 0.0.1
select2dot1: ^0.0.1 copied to clipboard
Select2dot1 gives you a customizable select box with single and multiple selection that will work with search. Also available group option.
example/lib/main.dart
import 'package:example/screens/basic_view.dart';
import 'package:example/screens/custom_view.dart';
import 'package:example/screens/menu.dart';
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Select2dot1 Example',
initialRoute: Menu.routeName,
routes: <String, WidgetBuilder>{
Menu.routeName: (context) => const Menu(),
BasicView.routeName: (context) => const BasicView(),
CustomView.routeName: (context) => const CustomView(),
},
);
}
}