gridChild method

Widget gridChild(
  1. String text,
  2. String image, {
  3. double? height,
})

Implementation

Widget gridChild(String text, String image, {double? height}){
  return Container(
    padding: EdgeInsets.fromLTRB(0, 14, 0, 0),
    width: 184,
    height:height == null? 111 : height,
    child:Center(
      child:  Column(
        children: [
          Image.asset(image,height: 60,),
          SizedBox(height: 8,),
          Text(
            text, style: TextStyle(
              fontSize: 13, fontWeight: FontWeight.w400,
            color: ColorHelper.black02,
          ),
          )
        ],
      ),
    )
  );
}