fixed laoding button
This commit is contained in:
@@ -49,13 +49,18 @@ class TenderDetailActions extends StatelessWidget {
|
||||
Consumer<TenderDetailViewModel>(
|
||||
builder: (context, viewModel, child) {
|
||||
return viewModel.isSubmitApprovalLoading
|
||||
? BaseButton(
|
||||
isEnabled: true,
|
||||
text: AppStrings.tenderSubmitButton,
|
||||
backgroundColor: AppColors.primary30,
|
||||
textColor: AppColors.mainBlue,
|
||||
isLoading: true,
|
||||
onPressed: () {},
|
||||
? Container(
|
||||
height: 56.0.h(),
|
||||
width: double.infinity,
|
||||
decoration: BoxDecoration(
|
||||
color: AppColors.primary30,
|
||||
borderRadius: BorderRadius.circular(100.0),
|
||||
),
|
||||
child: Center(
|
||||
child: CircularProgressIndicator(
|
||||
color: AppColors.mainBlue,
|
||||
),
|
||||
),
|
||||
)
|
||||
: BaseButton(
|
||||
isEnabled: true,
|
||||
|
||||
Reference in New Issue
Block a user