feat(chat): hero animation + chat select scren

This commit is contained in:
mso7nueh
2024-06-25 15:26:03 +03:00
parent 05ccfd289c
commit 2337bdd368
12 changed files with 211 additions and 200 deletions

View File

@@ -175,13 +175,13 @@ class MyProfileScreen extends StatelessWidget {
}
addImage(BuildContext context) async {
final picker = ImagePicker();
List<XFile>? images = await picker.pickMultiImage();
if (images.isNotEmpty) {
for (var image in images) {
context.read<MyProfileBloc>().add(UploadAvatar(image));
}
final picker = ImagePicker();
List<XFile>? images = await picker.pickMultiImage();
if (images.isNotEmpty) {
for (var image in images) {
context.read<MyProfileBloc>().add(UploadAvatar(image));
}
}
}
onTapSettings(BuildContext context) {
@@ -192,7 +192,7 @@ class MyProfileScreen extends StatelessWidget {
_buildCarousel(BuildContext contex, MyProfileLoadedState state) {
return CarouselSlider(
options: CarouselOptions(height: 320.0),
options: CarouselOptions(height: 340),
items: [1, 2, 3].map((chartType) {
return Builder(
builder: (BuildContext context) {