showLeakedInfoPage function Null safety

void showLeakedInfoPage(
  1. BuildContext context,
  2. LeakedInfo leakInfo
)

Implementation

void showLeakedInfoPage(BuildContext context, LeakedInfo leakInfo) {
  BottomPopupCard.show(
    context,
    LeakPreviewPage(leakInfoList: [leakInfo]),
  );
}