noDataFoundView static method
dynamic
noDataFoundView(
- dynamic imagePath, {
- 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)),
],
),
);
}