getSalesModelInfoWidget static method
Implementation
static Widget getSalesModelInfoWidget(BuildContext context) {
switch(AppConfig.instance.appInUse) {
case AppInUse.c:
return SizedBox.shrink();
case AppInUse.e:
return Column(
children: [
TitleSubtitleRow(AppTranslationConstants.digitalSalesModel.tr,
subtitle: AppTranslationConstants.digitalSalesModelMsg.tr,
showDivider: false,
),
AppTheme.heightSpace10,
SizedBox(
width: AppTheme.fullWidth(context)*0.5,
child: ClipRRect(
borderRadius: BorderRadius.circular(10.0),
child: Image.asset(AppAssets.releaseUploadIntro,
fit: BoxFit.cover,),
),
),
AppTheme.heightSpace10,
TitleSubtitleRow(AppTranslationConstants.physicalSalesModel.tr,
subtitle: AppTranslationConstants.physicalSalesModelMsg.tr,
showDivider: false
),
AppTheme.heightSpace10,
],
);
case AppInUse.g:
return SizedBox.shrink();
case AppInUse.o:
return SizedBox.shrink();
default:
return SizedBox.shrink();
}
}