open:container-shadow

Container shadow

Container(
            decoration: BoxDecoration(
              // border: Border.all(
              //   width: 1,
              //   color: primaryColor,
              // ),
              // border:  Border.frokmBorderSide(side)
              color: bgColor,
              boxShadow: [
                BoxShadow(
                  color: primaryColor.withOpacity(0.5),
                  spreadRadius: 0,
                  blurRadius: 7,
 
                  offset: const Offset(0, 3), // changes position of shadow
                ),
              ],
              borderRadius: const BorderRadius.all(Radius.circular(20) // POINT
                  ),
            ), //  POINT: B
            // width: 100,
            // height: 100,
            child: Text(TimeUtil.yearMonthDay(log.year, log.month, log.day)),
          ),


  • open/container-shadow.txt
  • 마지막으로 수정됨: 2023/07/18 07:47
  • 저자 MORO