CityPickerView constructor
const
CityPickerView({
- dynamic key,
- ResultBlock? onResult,
- List? params,
- TopMenuStyle? topMenuStyle,
- double buttonBarHeight = 44,
- double listHeight = 200,
- BoxDecoration buttonBarBoxDecoration = const BoxDecoration(border: Border(bottom: BorderSide(color: Colors.grey, width: 1))),
- TextStyle? listTextStyle = const TextStyle(color: Colors.black87, fontSize: 16),
- Widget sureWidget = const Text('确定'),
- Widget cancelWidget = const Text('取消'),
Implementation
const CityPickerView({
key,
this.onResult,
this.params,
this.topMenuStyle,
this.buttonBarHeight = 44,
this.listHeight = 200,
this.buttonBarBoxDecoration = const BoxDecoration(
border: Border(bottom: BorderSide(color: Colors.grey, width: 1))),
this.listTextStyle = const TextStyle(color: Colors.black87, fontSize: 16),
this.sureWidget = const Text(
'确定',
),
this.cancelWidget = const Text(
'取消',
),
}) : super(key: key);