pickAssets method
Implementation
void pickAssets(BuildContext context, {required int maxAssets}) =>
InstaAssetPicker.pickAssets(
context,
title: description.fullLabel,
closeOnComplete: true,
maxAssets: maxAssets,
pickerTheme: getPickerTheme(context),
onCompleted: (Stream<InstaAssetsExportDetails> cropStream) {
Navigator.push(
context,
MaterialPageRoute(
builder: (context) =>
PickerCropResultScreen(cropStream: cropStream),
),
);
},
);