AddressSelector constructor
AddressSelector({
- Key? key,
- required dynamic onSelected(
- Result result
- String? title,
- Color unselectedColor = Colors.grey,
- Color selectedColor = Colors.blue,
- double itemTextFontSize = 14.0,
- String? provinceName,
- String? cityName,
- String? areaName,
- TextStyle titleTextStyle = const TextStyle(fontSize: 16.0, color: Colors.black, fontWeight: FontWeight.bold),
Implementation
AddressSelector({
Key? key,
required this.onSelected,
this.title,
this.unselectedColor = Colors.grey,
this.selectedColor = Colors.blue,
this.itemTextFontSize: 14.0,
this.provinceName,
this.cityName,
this.areaName,
this.titleTextStyle: const TextStyle(
fontSize: 16.0,
color: Colors.black,
fontWeight: FontWeight.bold,
),
}) : super(key: key);