flutter transform a widget into another with animation

I have a panel with an image that displays on the edge of the screen. I hope it can transform into a bottom modal sheet dialog when user clicks on it. How can I achieve it?

Below is the code of my simplified side panel.

class _FittingRoomProductSidePanelState extends State<FittingRoomProductSidePanel> {

  @override
  Widget build(BuildContext context) {
    return Container(
      width: FittingRoomProductSidePanel.width,
      height: 200,
      decoration: const BoxDecoration(
        color: Colors.white,
        borderRadius: BorderRadius.all(Radius.circular(10)),
        boxShadow: [ GlobalUI.lightShadow ],
      ),
      child: Column(children: [
        Stack(alignment: Alignment.center, children: [
          ClipRRect(
            borderRadius: const BorderRadius.only(topLeft: Radius.circular(10), topRight: Radius.circular(10)),
            child: Hero(tag: pictureUrl, child: Image.network(pictureUrl, width: 100, height: 100, fit: BoxFit.cover)),
          ),
          GestureDetector(
            onTap: () {
              // transform here
            },
            child: Container(
              width: FittingRoomProductSidePanel.width, height: FittingRoomProductSidePanel.width,
              padding: const EdgeInsets.only(left: 2, right: 2, bottom: 2),
              decoration: const BoxDecoration(gradient: LinearGradient(colors: [Colors.black38, Colors.transparent], begin: Alignment.bottomCenter, end: Alignment.topCenter)),
              alignment: Alignment.bottomCenter,
              child: Text("hello", style: const TextStyle(fontSize: 10, color: Colors.white), maxLines: 3)
            ),
          )
    ]);
      ]),
    );
  }

}

Below is a simplified dialog that I want:

class _FittingRoomProductDialogState extends State<FittingRoomProductDialog> {

  @override
  Widget build(BuildContext context) {
    return Container(
        width: Global.screenWidth,
        height: Global.screenHeight / 2,
        decoration: const BoxDecoration(
          color: Colors.white,
          borderRadius: BorderRadius.only(topLeft: Radius.circular(20), topRight: Radius.circular(20)),
          boxShadow: [ GlobalUI.bottomShadow ]
        ),
        child: Padding(
          padding: const EdgeInsets.only(top: 20, left: 10),
          child: Column(children: [
            _buildHeader(),
          ])
        )
      )
    ); 
  }

  Widget _buildHeader(){
    return SizedBox(
      height: 60,
      child: Row(children: [
        ClipRRect(
          borderRadius: BorderRadius.circular(8),
          child: Hero(
            tag: _baseProduct!.modelPicture!,
            child: CachedNetworkImage(
              imageUrl: _baseProduct?.modelPicture ?? _product!.modelPicture!,
              width: 60,
              height: 60,
              fit: BoxFit.cover,
              placeholder: (context, url) => WidgetUtils.loadingSign(),
            ),
          ),
        ),
        const SizedBox(width: 10),
        Expanded(child: Column(crossAxisAlignment: CrossAxisAlignment.start, children: [
          Text(_baseProduct?.name ?? _product!.name, maxLines: 2, overflow: TextOverflow.ellipsis, style: TextStyle(color: GlobalUI.blackThemeColor, fontWeight: GlobalUI.fontWeight450, fontSize: 13)),
          const Spacer(),
          WidgetUtils.priceInfoRichText(_baseProduct?.price ?? _product!.price, unitFontSize: 11, priceFontSize: 13),
        ])),
        IconButton(
          onPressed: () {
            RouteUtils.showFromRight(ProductPage(product: _product ?? _baseProduct, productCode: _productCode));
          },
          icon: const Icon(Icons.arrow_forward_ios_rounded, size: 20, color: GlobalUI.blackThemeColor),
        ),
      ])
    );
  }

I tried adding Hero to both images, but it seems that Hero will only work on different routes. In my case, the panel and the dialog are in the same page. So it fails.

It is okay for me to just transform the image and the container. How can I achieve it?

Thanks in advance!

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật