InstagramImagePicker constructor Null safety

const InstagramImagePicker(
  1. Map<String, String> _accessMap,
  2. {Key? key,
  3. String appBarTitle = 'Pick Instagram Image',
  4. TextStyle? appBarTextStyle,
  5. Color? appBarColor,
  6. String doneBtnText = 'Done',
  7. TextStyle? doneBtnTextStyle,
  8. required dynamic onDone(
    1. List<Photo>
    ),
  9. String cancelBtnText = 'Cancel',
  10. TextStyle? cancelBtnTextStyle,
  11. required Function onCancel,
  12. bool showLogoutButton = false}
)

Implementation

const InstagramImagePicker(
  this._accessMap, {
  super.key,
  this.appBarTitle = 'Pick Instagram Image',
  this.appBarTextStyle,
  this.appBarColor,
  this.doneBtnText = 'Done',
  this.doneBtnTextStyle,
  required this.onDone,
  this.cancelBtnText = 'Cancel',
  this.cancelBtnTextStyle,
  required this.onCancel,
  this.showLogoutButton = false,
});