Merge pull request 'fixed rported jira issues' (#127) from fix_issues into main
Reviewed-on: https://repo.ravanertebat.com/TM/tm_app/pulls/127
This commit is contained in:
@@ -120,7 +120,7 @@ class TenderDetailActions extends StatelessWidget {
|
|||||||
? BaseButton(
|
? BaseButton(
|
||||||
isEnabled: true,
|
isEnabled: true,
|
||||||
text: TenderDetailsStrings.tenderRejectButton,
|
text: TenderDetailsStrings.tenderRejectButton,
|
||||||
textColor: AppColors.red10,
|
textColor: AppColors.errorColor,
|
||||||
backgroundColor: AppColors.backgroundColor,
|
backgroundColor: AppColors.backgroundColor,
|
||||||
borderWidth: 1,
|
borderWidth: 1,
|
||||||
onPressed: () {},
|
onPressed: () {},
|
||||||
@@ -129,7 +129,7 @@ class TenderDetailActions extends StatelessWidget {
|
|||||||
: BaseButton(
|
: BaseButton(
|
||||||
isEnabled: true,
|
isEnabled: true,
|
||||||
text: TenderDetailsStrings.tenderRejectButton,
|
text: TenderDetailsStrings.tenderRejectButton,
|
||||||
textColor: AppColors.red10,
|
textColor: AppColors.errorColor,
|
||||||
backgroundColor: AppColors.backgroundColor,
|
backgroundColor: AppColors.backgroundColor,
|
||||||
borderWidth: 1,
|
borderWidth: 1,
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ class ProfileStrings {
|
|||||||
static const String registrationNumber = 'Registration No.';
|
static const String registrationNumber = 'Registration No.';
|
||||||
static const String businessType = 'Business Type';
|
static const String businessType = 'Business Type';
|
||||||
static const String founded = 'Founded';
|
static const String founded = 'Founded';
|
||||||
static const String logout = 'Logout';
|
static const String logout = 'Log out';
|
||||||
static const String contracts = 'Contracts';
|
static const String contracts = 'Contracts';
|
||||||
static const String notifications = 'Notifications';
|
static const String notifications = 'Notifications';
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -141,7 +141,9 @@ class _MainTendersSliderState extends State<MainTendersSlider> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Widget _leftArrowButton() {
|
Widget _leftArrowButton() {
|
||||||
return InkWell(
|
return Visibility(
|
||||||
|
visible: currentPage != 1,
|
||||||
|
child: InkWell(
|
||||||
borderRadius: BorderRadius.circular(100),
|
borderRadius: BorderRadius.circular(100),
|
||||||
onTap: _goToPreviousPage,
|
onTap: _goToPreviousPage,
|
||||||
child: Container(
|
child: Container(
|
||||||
@@ -154,7 +156,11 @@ class _MainTendersSliderState extends State<MainTendersSlider> {
|
|||||||
alignment: Alignment.center,
|
alignment: Alignment.center,
|
||||||
child: SvgPicture.asset(
|
child: SvgPicture.asset(
|
||||||
AssetsManager.arrowLeftSmall,
|
AssetsManager.arrowLeftSmall,
|
||||||
colorFilter: ColorFilter.mode(AppColors.iconColor, BlendMode.srcATop),
|
colorFilter: ColorFilter.mode(
|
||||||
|
AppColors.iconColor,
|
||||||
|
BlendMode.srcATop,
|
||||||
|
),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
@@ -190,7 +196,9 @@ class _MainTendersSliderState extends State<MainTendersSlider> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Widget _rightArrowButton() {
|
Widget _rightArrowButton() {
|
||||||
return InkWell(
|
return Visibility(
|
||||||
|
visible: currentPage != widget.tenders.length,
|
||||||
|
child: InkWell(
|
||||||
borderRadius: BorderRadius.circular(100),
|
borderRadius: BorderRadius.circular(100),
|
||||||
onTap: _goToNextPage,
|
onTap: _goToNextPage,
|
||||||
child: Container(
|
child: Container(
|
||||||
@@ -203,7 +211,11 @@ class _MainTendersSliderState extends State<MainTendersSlider> {
|
|||||||
alignment: Alignment.center,
|
alignment: Alignment.center,
|
||||||
child: SvgPicture.asset(
|
child: SvgPicture.asset(
|
||||||
AssetsManager.arrowRightSmall,
|
AssetsManager.arrowRightSmall,
|
||||||
colorFilter: ColorFilter.mode(AppColors.iconColor, BlendMode.srcATop),
|
colorFilter: ColorFilter.mode(
|
||||||
|
AppColors.iconColor,
|
||||||
|
BlendMode.srcATop,
|
||||||
|
),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user