update
This commit is contained in:
@@ -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),
|
||||||
|
|||||||
Reference in New Issue
Block a user