update icon
This commit is contained in:
@@ -72,7 +72,7 @@ class ProfileEditPage extends HookConsumerWidget {
|
||||
backgroundColor: Colors.white,
|
||||
elevation: 0,
|
||||
leading: IconButton(
|
||||
icon: const Icon(Icons.arrow_back, color: Colors.black),
|
||||
icon: const FaIcon(FontAwesomeIcons.arrowLeft, color: Colors.black, size: 20),
|
||||
onPressed: () async {
|
||||
if (hasChanges.value) {
|
||||
final shouldPop = await _showUnsavedChangesDialog(context);
|
||||
@@ -338,9 +338,9 @@ class ProfileEditPage extends HookConsumerWidget {
|
||||
),
|
||||
],
|
||||
),
|
||||
child: const Icon(
|
||||
Icons.camera_alt,
|
||||
size: 16,
|
||||
child: const FaIcon(
|
||||
FontAwesomeIcons.camera,
|
||||
size: 14,
|
||||
color: Colors.white,
|
||||
),
|
||||
),
|
||||
@@ -472,7 +472,7 @@ class ProfileEditPage extends HookConsumerWidget {
|
||||
horizontal: 16,
|
||||
vertical: 12,
|
||||
),
|
||||
suffixIcon: const Icon(Icons.calendar_today, size: 20),
|
||||
suffixIcon: const FaIcon(FontAwesomeIcons.calendar, size: 18),
|
||||
border: OutlineInputBorder(
|
||||
borderRadius: BorderRadius.circular(AppRadius.input),
|
||||
borderSide: const BorderSide(color: Color(0xFFE2E8F0)),
|
||||
@@ -604,7 +604,7 @@ class ProfileEditPage extends HookConsumerWidget {
|
||||
context.pop();
|
||||
}
|
||||
},
|
||||
icon: const Icon(Icons.save, size: 20),
|
||||
icon: const FaIcon(FontAwesomeIcons.floppyDisk, size: 18),
|
||||
label: const Text(
|
||||
'Lưu thay đổi',
|
||||
style: TextStyle(fontSize: 16, fontWeight: FontWeight.w600),
|
||||
@@ -641,12 +641,12 @@ class ProfileEditPage extends HookConsumerWidget {
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
ListTile(
|
||||
leading: const Icon(Icons.camera_alt),
|
||||
leading: const FaIcon(FontAwesomeIcons.camera, size: 18),
|
||||
title: const Text('Máy ảnh'),
|
||||
onTap: () => Navigator.pop(context, ImageSource.camera),
|
||||
),
|
||||
ListTile(
|
||||
leading: const Icon(Icons.photo_library),
|
||||
leading: const FaIcon(FontAwesomeIcons.images, size: 18),
|
||||
title: const Text('Thư viện ảnh'),
|
||||
onTap: () => Navigator.pop(context, ImageSource.gallery),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user