View3D.me constructor

View3D.me({
  1. Key? key,
  2. double width = 260,
  3. double height = 260,
  4. double thickness = 60,
  5. bool center = false,
})

Implementation

View3D.me({
  Key? key,
  double width = 260,
  double height = 260,
  double thickness = 60,
  bool center = false,
}) : this(
        width,
        height,
        thickness,
        sides: [
          ColoredBox(
              color: Colors.primaries[0],
              child: CachedNetworkImage(
                imageUrl: avatar,
                progressIndicatorBuilder: (c, u, p) => const Center(
                  child: WinLoading(),
                ),
              )),
          ColoredBox(
              color: Colors.primaries[1],
              child: CachedNetworkImage(
                imageUrl: qrcode,
                progressIndicatorBuilder: (c, u, p) => const Center(
                  child: WinLoading(),
                ),
              )),
          ColoredBox(
            color: Colors.primaries[2],
            child: const Center(
              child: SizedBox(
                  width: 6,
                  child: Text(
                    "WORK@OPPO",
                    textAlign: TextAlign.center,
                  )),
            ),
          ),
          ColoredBox(
            color: Colors.primaries[3],
            child: const Center(
              child: SizedBox(
                  width: 6,
                  child: Text(
                    "I ㅤ❤ S ㅤZ",
                    textAlign: TextAlign.center,
                  )),
            ),
          ),
          ColoredBox(
            color: Colors.primaries[4],
            child: const Center(
              child: Text("ANDROID DEVELOPER "),
            ),
          ),
          ColoredBox(
            color: Colors.primaries[5],
            child: const Center(
              child: Text("I HOPE YOU WILL LIKE IT"),
            ),
          ),
        ],
        reset: const ResetElasticOut(),
        resetTarget: const ResetTarget2(),
        center: center,
        key: key,
      );