From 9fa4724b2aaeeceaf65f60ca0cc4b0ccca41704d Mon Sep 17 00:00:00 2001 From: Ramadhan Sjamsani Date: Thu, 21 May 2026 19:36:16 +0800 Subject: [PATCH] Mitra Profil: WhatsApp + Telegram brand glyphs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replaces the generic chat_bubble + send Material icons with the official WhatsApp + Telegram glyphs from font_awesome_flutter. Adds the package as a runtime dep; FA brand glyphs are CC BY 4.0 and the package itself is MIT. Visual style is kept consistent with the other rows (pink-soft tile backing, brand-pink glyph fill) rather than full-brand colors — matches the figma's monochrome tile pattern. Co-Authored-By: Claude Opus 4.7 (1M context) --- mitra_app/lib/features/profile/profil_screen.dart | 5 +++-- mitra_app/pubspec.lock | 8 ++++++++ mitra_app/pubspec.yaml | 3 +++ 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/mitra_app/lib/features/profile/profil_screen.dart b/mitra_app/lib/features/profile/profil_screen.dart index 887a090..9bf9485 100644 --- a/mitra_app/lib/features/profile/profil_screen.dart +++ b/mitra_app/lib/features/profile/profil_screen.dart @@ -1,5 +1,6 @@ import 'package:flutter/material.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; +import 'package:font_awesome_flutter/font_awesome_flutter.dart'; import 'package:url_launcher/url_launcher.dart'; import '../../core/auth/auth_notifier.dart'; import '../../core/theme/halo_tokens.dart'; @@ -255,13 +256,13 @@ class _MenuList extends StatelessWidget { return Column( children: [ _MenuTile( - icon: Icons.chat_bubble_outline, + icon: FontAwesomeIcons.whatsapp, label: 'Chat WhatsApp Kami', onTap: onTapWa, ), const SizedBox(height: 10), _MenuTile( - icon: Icons.send_outlined, + icon: FontAwesomeIcons.telegram, label: 'Chat Telegram Kami', onTap: onTapTelegram, ), diff --git a/mitra_app/pubspec.lock b/mitra_app/pubspec.lock index 7f0e409..2a68377 100644 --- a/mitra_app/pubspec.lock +++ b/mitra_app/pubspec.lock @@ -480,6 +480,14 @@ packages: description: flutter source: sdk version: "0.0.0" + font_awesome_flutter: + dependency: "direct main" + description: + name: font_awesome_flutter + sha256: b9011df3a1fa02993630b8fb83526368cf2206a711259830325bab2f1d2a4eb0 + url: "https://pub.dev" + source: hosted + version: "10.12.0" freezed_annotation: dependency: transitive description: diff --git a/mitra_app/pubspec.yaml b/mitra_app/pubspec.yaml index 7719477..ff89689 100644 --- a/mitra_app/pubspec.yaml +++ b/mitra_app/pubspec.yaml @@ -32,6 +32,9 @@ dependencies: go_router: ^13.2.1 flutter_local_notifications: ^21.0.0 url_launcher: ^6.3.0 + # Brand glyphs (WhatsApp, Telegram) for the Profil menu. Material has + # no built-in brand icons. Ships an icon font, no SVG plumbing needed. + font_awesome_flutter: ^10.7.0 dev_dependencies: flutter_test: