flutter_custom_dropdown 0.0.2 flutter_custom_dropdown: ^0.0.2 copied to clipboard
Suitable for complex drop-down components, providing single selection, multiple selection, custom input, and customizable content pages, providing a complete Tempalte, in line with basic use, and givi [...]
import 'package:flutter/material.dart';
import 'package:flutter_custom_dropdown_example/pages/home_index.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatefulWidget {
@override
_MyAppState createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
void initState() {
super.initState();
}
// Platform messages are asynchronous, so we initialize in an async method.
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Center(child: Text('复杂下拉插件'),),
),
body: HomeIndex(),
),
);
}
}