AddressSelector constructor

AddressSelector({
  1. Key? key,
  2. required dynamic onSelected(
    1. Result result
    ),
  3. String? title,
  4. Color unselectedColor = Colors.grey,
  5. Color selectedColor = Colors.blue,
  6. double itemTextFontSize = 14.0,
  7. String? provinceName,
  8. String? cityName,
  9. String? areaName,
  10. 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);