mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 12:09:43 +00:00
Add new phone number tile action
This commit is contained in:
parent
7cb6e1b193
commit
9bf4e3a20e
1 changed files with 23 additions and 18 deletions
|
@ -48,26 +48,31 @@ class ActiveServicesBodyState extends State<ActiveServicesBody> {
|
||||||
child: Column(
|
child: Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
Container(
|
GestureDetector(
|
||||||
width: double.infinity,
|
onTap: () {
|
||||||
padding: EdgeInsets.symmetric(horizontal: 24, vertical: 16),
|
Navigator.pushNamed(context, Routes.cakePhoneProducts);
|
||||||
decoration: BoxDecoration(
|
},
|
||||||
borderRadius: BorderRadius.all(Radius.circular(15)),
|
child: Container(
|
||||||
gradient: LinearGradient(
|
width: double.infinity,
|
||||||
colors: [
|
padding: EdgeInsets.symmetric(horizontal: 24, vertical: 16),
|
||||||
Theme.of(context).primaryTextTheme.subhead.color,
|
decoration: BoxDecoration(
|
||||||
Theme.of(context).primaryTextTheme.subhead.decorationColor,
|
borderRadius: BorderRadius.all(Radius.circular(15)),
|
||||||
],
|
gradient: LinearGradient(
|
||||||
begin: Alignment.topLeft,
|
colors: [
|
||||||
end: Alignment.bottomRight,
|
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),
|
const SizedBox(height: 8),
|
||||||
freeBalanceInfoRow(),
|
freeBalanceInfoRow(),
|
||||||
|
|
Loading…
Reference in a new issue