Add new phone number tile action

This commit is contained in:
OmarHatem28 2022-07-06 16:31:21 +02:00
parent 7cb6e1b193
commit 9bf4e3a20e

View file

@ -48,26 +48,31 @@ class ActiveServicesBodyState extends State<ActiveServicesBody> {
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Container(
width: double.infinity,
padding: EdgeInsets.symmetric(horizontal: 24, vertical: 16),
decoration: BoxDecoration(
borderRadius: BorderRadius.all(Radius.circular(15)),
gradient: LinearGradient(
colors: [
Theme.of(context).primaryTextTheme.subhead.color,
Theme.of(context).primaryTextTheme.subhead.decorationColor,
],
begin: Alignment.topLeft,
end: Alignment.bottomRight,
GestureDetector(
onTap: () {
Navigator.pushNamed(context, Routes.cakePhoneProducts);
},
child: Container(
width: double.infinity,
padding: EdgeInsets.symmetric(horizontal: 24, vertical: 16),
decoration: BoxDecoration(
borderRadius: BorderRadius.all(Radius.circular(15)),
gradient: LinearGradient(
colors: [
Theme.of(context).primaryTextTheme.subhead.color,
Theme.of(context).primaryTextTheme.subhead.decorationColor,
],
begin: Alignment.topLeft,
end: Alignment.bottomRight,
),
),
child: Text(S.of(context).new_phone_number,
style: TextStyle(
color: Colors.white,
fontSize: 16,
fontWeight: FontWeight.w700,
)),
),
child: Text(S.of(context).new_phone_number,
style: TextStyle(
color: Colors.white,
fontSize: 16,
fontWeight: FontWeight.w700,
)),
),
const SizedBox(height: 8),
freeBalanceInfoRow(),