Skip to content

Commit

Permalink
add buymeacofee to donation
Browse files Browse the repository at this point in the history
  • Loading branch information
byackee committed Nov 20, 2024
1 parent 0b3bf99 commit 911d6ae
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
Binary file added assets/bmc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions lib/structure/drawer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,24 @@ class CustomDrawer extends StatelessWidget {
),
),
ElevatedButton.icon(
onPressed: () {
Utils.launchURL('https://buymeacoffee.com/byackee');
},
icon: Image.asset(
'assets/bmc.png', // Chemin de votre image dans les assets
height: 24, // Ajustez la taille de l'image
width: 24,
),
label: Text(
'buy coffee',
style: TextStyle(fontSize: 14 + textSizeOffset, color: Colors.white),
),
style: ElevatedButton.styleFrom(
backgroundColor: Colors.blue,
),
),

ElevatedButton.icon(
onPressed: () {
_showCryptoAddressDialog(context, textSizeOffset);
},
Expand Down
1 change: 1 addition & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ flutter:
- assets/RealT_Logo.png
- assets/ethereum.png
- assets/gnosis.png
- assets/bmc.png
- assets/icons/xdai.png
- assets/icons/usdc.png
- assets/country/usa.png
Expand Down

0 comments on commit 911d6ae

Please sign in to comment.