improvements

main_production_RSG
Sikander Saleem 1 month ago
parent af067099ec
commit dc1cc6c174

@ -74,18 +74,6 @@ class _ExportFormViewState<T> extends State<ExportFormView<T>> {
child: Column( child: Column(
spacing: 16, spacing: 16,
children: [ children: [
SingleItemDropDownMenu<Lookup, ExportFormatProvider>(
context: context,
title: 'Format',
backgroundColor: AppColor.fieldBgColor(context),
height: 56.toScreenHeight,
showShadow: false,
showAsBottomSheet: false,
showAsFullScreenDialog: true,
requestById: 1,
initialValue: selectedFormat,
onSelect: _updateSelectedFormat,
),
MultipleItemDropDownMenu<AssetColumnMetadata, AssetColumnsProvider>( MultipleItemDropDownMenu<AssetColumnMetadata, AssetColumnsProvider>(
context: context, context: context,
title: 'Columns', title: 'Columns',
@ -98,6 +86,18 @@ class _ExportFormViewState<T> extends State<ExportFormView<T>> {
requestById: widget.moduleType.id, requestById: widget.moduleType.id,
onSelect: _updateSelectedColumns, onSelect: _updateSelectedColumns,
), ),
SingleItemDropDownMenu<Lookup, ExportFormatProvider>(
context: context,
title: 'Format',
backgroundColor: AppColor.fieldBgColor(context),
height: 56.toScreenHeight,
showShadow: false,
showAsBottomSheet: false,
showAsFullScreenDialog: true,
requestById: 1,
initialValue: selectedFormat,
onSelect: _updateSelectedFormat,
),
], ],
).toShadowContainer(context).paddingOnly(top: 20, start: 16, end: 16), ).toShadowContainer(context).paddingOnly(top: 20, start: 16, end: 16),
), ),

@ -43,8 +43,8 @@ class ExportApiProvider extends ChangeNotifier {
progressValueColor: AppColor.primary10, progressValueColor: AppColor.primary10,
msgFontWeight: FontWeight.normal, msgFontWeight: FontWeight.normal,
msgColor: textColor, msgColor: textColor,
valueColor: textColor, valueColor: textColor,elevation: 4,
msgFontSize: 18, msgFontSize: 16,
backgroundColor: backgroundColor, backgroundColor: backgroundColor,
); );
@ -266,7 +266,7 @@ class ExportApiProvider extends ChangeNotifier {
progressBgColor: Colors.transparent, progressBgColor: Colors.transparent,
progressValueColor: AppColor.primary10, progressValueColor: AppColor.primary10,
msgFontWeight: FontWeight.normal, msgFontWeight: FontWeight.normal,
msgFontSize: 18, msgFontSize: 18,elevation: 2,
valueColor: textColor, valueColor: textColor,
backgroundColor: backgroundColor, backgroundColor: backgroundColor,
msgColor: textColor, msgColor: textColor,

@ -13,8 +13,8 @@ class AppLazyLoading extends StatelessWidget {
height: 36.toScreenWidth, height: 36.toScreenWidth,
width: 36.toScreenWidth, width: 36.toScreenWidth,
padding: const EdgeInsets.all(8), padding: const EdgeInsets.all(8),
decoration: BoxDecoration(color: AppColor.background(context), shape: BoxShape.circle, boxShadow: [AppStyle.boxShadow]), decoration: BoxDecoration(color: AppColor.background(context), shape: BoxShape.circle, boxShadow: [AppStyle.boxShadow]),
child: const Center(child: CircularProgressIndicator(strokeWidth: 3)), child: const Center(child: CircularProgressIndicator(strokeWidth: 3, color: AppColor.primary10)),
), ),
); );
} }

Loading…
Cancel
Save