AddressWidget<T extends BaseModel> constructor
const
AddressWidget<T extends BaseModel> ({
- Key? key,
- required List<
T> list, - required dynamic onChanged(
- T?
- T? value,
- required String hint,
- Color borderColor = Colors.black,
- bool isRoundedBorder = false,
- EdgeInsets? padding,
- EdgeInsets? margin,
- double radius = 10,
- bool isNepali = false,
Implementation
const AddressWidget({
Key? key,
required this.list,
required this.onChanged,
this.value,
required this.hint,
this.borderColor = Colors.black,
this.isRoundedBorder = false,
this.padding,
this.margin,
this.radius = 10,
this.isNepali = false,
}) : super(key: key);