AddressWidget<T extends BaseModel> constructor

const AddressWidget<T extends BaseModel>({
  1. Key? key,
  2. required List<T> list,
  3. required dynamic onChanged(
    1. T?
    ),
  4. T? value,
  5. required String hint,
  6. Color borderColor = Colors.black,
  7. bool isRoundedBorder = false,
  8. EdgeInsets? padding,
  9. EdgeInsets? margin,
  10. double radius = 10,
  11. 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);