BASE: Update Icons & Name Of The App.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import 'package:customer/themes/responsive.dart';
|
||||
import 'package:easy_localization/easy_localization.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:get/get.dart' hide Trans;
|
||||
import 'app_them_data.dart';
|
||||
|
||||
class RoundedButtonFill extends StatelessWidget {
|
||||
@@ -45,21 +45,48 @@ class RoundedButtonFill extends StatelessWidget {
|
||||
child: Container(
|
||||
width: Responsive.width(width ?? 100, context),
|
||||
height: Responsive.height(height ?? 6, context),
|
||||
decoration: ShapeDecoration(color: color, shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(borderRadius ?? 50))),
|
||||
decoration: ShapeDecoration(
|
||||
color: color,
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.circular(borderRadius ?? 50),
|
||||
),
|
||||
),
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
crossAxisAlignment: CrossAxisAlignment.center,
|
||||
children: [
|
||||
if (isRight == false) Padding(padding: const EdgeInsets.only(right: 10, left: 10), child: icon),
|
||||
if (isRight == false)
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(right: 10, left: 10),
|
||||
child: icon,
|
||||
),
|
||||
isCenter == true
|
||||
? Text(title.tr(), textAlign: TextAlign.center, style: AppThemeData.semiBoldTextStyle(fontSize: fontSizes ?? 16, color: textColor ?? AppThemeData.grey50))
|
||||
? Text(
|
||||
title.tr(),
|
||||
textAlign: TextAlign.center,
|
||||
style: AppThemeData.semiBoldTextStyle(
|
||||
fontSize: fontSizes ?? 16,
|
||||
color: textColor ?? AppThemeData.grey50,
|
||||
),
|
||||
)
|
||||
: Expanded(
|
||||
child: Padding(
|
||||
padding: EdgeInsets.only(right: isRight == null ? 0 : 30),
|
||||
child: Text(title.tr(), textAlign: TextAlign.center, style: AppThemeData.semiBoldTextStyle(fontSize: fontSizes ?? 16, color: textColor ?? AppThemeData.grey50)),
|
||||
child: Text(
|
||||
title.tr(),
|
||||
textAlign: TextAlign.center,
|
||||
style: AppThemeData.semiBoldTextStyle(
|
||||
fontSize: fontSizes ?? 16,
|
||||
color: textColor ?? AppThemeData.grey50,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
if (isRight == true) Padding(padding: const EdgeInsets.only(left: 10, right: 10), child: icon),
|
||||
if (isRight == true)
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(left: 10, right: 10),
|
||||
child: icon,
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user