AddressPicker constructor
const
AddressPicker({
- Key? key,
- AddressPickerMode mode = AddressPickerMode.provinceCityAndDistrict,
- AddressCallback? onSelectedAddressChanged,
- Function? onTapEnter,
- Function? onTapCancel,
- double widgetHeight = 250,
- BoxDecoration headerDecoration = const BoxDecoration(color: Colors.transparent),
- Color firstFlexColor = const Color(0xFF292B3C),
- Color secondFlexColor = const Color(0xFF292B3C),
- Color thirdFlexColor = const Color(0xFF292B3C),
- Color bgColor = const Color(0xFFFFFFFF),
- TextStyle style = const TextStyle(color: Colors.black, fontSize: 17),
- Widget headerText = const Text("属地", style: TextStyle(color: Color(0xFFFFFFFF), fontSize: 17)),
- bool isShowTopHeader = true,
Implementation
const AddressPicker(
{Key? key,
this.mode = AddressPickerMode.provinceCityAndDistrict,
this.onSelectedAddressChanged,
this.onTapEnter,
this.onTapCancel,
this.widgetHeight = 250,
this.headerDecoration = const BoxDecoration(color: Colors.transparent),
this.firstFlexColor = const Color(0xFF292B3C),
this.secondFlexColor = const Color(0xFF292B3C),
this.thirdFlexColor = const Color(0xFF292B3C),
this.bgColor = const Color(0xFFFFFFFF),
this.style = const TextStyle(color: Colors.black, fontSize: 17),
this.headerText = const Text(
"属地",
style: TextStyle(
color: Color(0xFFFFFFFF),
fontSize: 17,
),
),
this.isShowTopHeader = true})
: super(key: key);