mPictureSampleShowBig function

Future<void>? mPictureSampleShowBig(
  1. String? url, {
  2. Object? heroTag,
})

Implementation

Future<void>? mPictureSampleShowBig(String? url,
    {final Object? heroTag}) async {
  Get.to(
    Scaffold(
      appBar: AppBar(
        elevation: 0,
        leading: const MBlockBackButton(),
        title: Text(
          'Image view',
          style: TextStyle(color: Colors.black),
        ),
        backgroundColor: Colors.white,
      ),
      // title: 'Image view',
      body: MImage(
        modifier: MImageModifier.width(Get.width)
            .height(Get.height)
            .widthImage(Get.width)
            .heightImage(Get.height)
            .fit(BoxFit.cover)
            .heroTag(heroTag)
            .click(() => Get.back()),
        data: url,
      ),
    ),
  );
}