This commit is contained in:
Felipe
2024-01-05 16:10:39 -05:00
parent 278fdfd9e1
commit a7db9d986d
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ import 'package:flutter/material.dart';
import 'package:flutter_animate/flutter_animate.dart'; import 'package:flutter_animate/flutter_animate.dart';
const double photoSize = 100; const double photoSize = 100;
const double iconSize = 55; const double iconSize = 35;
class ReferencePhoto extends StatelessWidget { class ReferencePhoto extends StatelessWidget {
Reference? ref; Reference? ref;
@@ -92,7 +92,7 @@ class DefaultPhoto extends StatelessWidget {
color: const Color.fromARGB(255, 255, 255, 255), color: const Color.fromARGB(255, 255, 255, 255),
size: iconDefault, size: iconDefault,
), ),
).animate().shake(); );
} }
} }
@@ -400,8 +400,8 @@ class DrawerMenu extends StatelessWidget {
), ),
leading: ReferencePhoto( leading: ReferencePhoto(
ref: user?.photo, ref: user?.photo,
size: 55, size: 50,
sizeCircle: 60, sizeCircle: 50,
), ),
trailing: const Icon(Icons.keyboard_arrow_right, color: Colors.black), trailing: const Icon(Icons.keyboard_arrow_right, color: Colors.black),
contentPadding: const EdgeInsets.symmetric(vertical: 20, horizontal: 16), contentPadding: const EdgeInsets.symmetric(vertical: 20, horizontal: 16),