noDataFoundView static method

dynamic noDataFoundView(
  1. dynamic imagePath, {
  2. dynamic desText,
})

Implementation

static   noDataFoundView(imagePath,{desText}) {
     return Center(
       child: Column(
         mainAxisAlignment: MainAxisAlignment.center,
         children: [
           assetImage(image: imagePath, height: 160.0, width: 160.0),
           sizedBox(height: margin_10),
           commonText(desText ?? noDataFoundStr,
               style:
               GoogleFonts.roboto(fontSize: font_16,
                   color: CommonColors.imageTitleColor

               )),
         ],
       ),
     );
   }