flutter_custom_dropdown 0.0.3 flutter_custom_dropdown: ^0.0.3 copied to clipboard
This is a custom drop-down component developed using pure dart, which can be used for shopping mall Apple drop-down filtering and other functions.
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(),
),
);
}
}