mirrored_repositories/nft_app/lib/screens/home
import 'package:google_fonts/google_fonts.dart';
import 'package:nft_app/app.dart';
import 'package:nft_app/src/constants/assets.dart';
import 'package:nft_app/src/widgets/custom_shapes/top_seller.dart';

Widget topSeller() => SizedBox(
      height: 83.h,
      width: 146.w,
      child: Stack(
        children: [
          Padding(
            padding: EdgeInsets.only(top: 18.h),
            child: Align(
              alignment: Alignment.bottomLeft,
              child: SizedBox(
                height: 83.h,
                width: 146.w,
                child: ClipPath(
                  clipper: TopSellerCustomShape(),
                  child: Container(
                    padding: EdgeInsets.only(right: 13.w),
                    color: CustomColors.white,
                    alignment: Alignment.centerRight,
                    child: Column(
                      mainAxisAlignment: MainAxisAlignment.center,
                      children: [
                        Padding(
                          padding: EdgeInsets.only(bottom: 5.h),
                          child: const KText(
                            'IamJackRider',
                          ),
                        ),
                        GestureDetector(
                          onTap: () {},
                          child: Container(
                            width: 68.w,
                            height: 15.h,
                            decoration: BoxDecoration(
                              borderRadius: BorderRadius.circular(11.r),
                              gradient: const LinearGradient(
                                transform: GradientRotation(1.6383406),
                                colors: [
                                  Color(0xff320D6D),
                                  Color(0xff8A4CED)
                                ],
                                stops: [0.02, 1],
                              ),
                            ),
                            alignment: Alignment.center,
                            child: KText(
                              'ETH 22.051225',
                              color: CustomColors.white,
                              fontSize: 8.sp,
                              fontFamily: GoogleFonts.poppins().fontFamily,
                            ),
                          ),
                        )
                      ],
                    ),
                    /* width: 300,
                              height: 400,*/
                  ),
                ),
              ),
            ),
          ),
          Positioned(top: 0, left: 11.w, child: Image.asset(user3))
        ],
      ),
    );
