mirror of
https://github.com/Iconica-Development/flutter_chat.git
synced 2025-05-19 02:43:50 +02:00
Merge 69f2d542bc
into 15f15748b6
This commit is contained in:
commit
00ffd6cf13
2 changed files with 11 additions and 14 deletions
|
@ -148,15 +148,11 @@ Widget _createImagePickerContainer(
|
|||
padding: const EdgeInsets.all(8.0),
|
||||
color: Colors.white,
|
||||
child: ImagePicker(
|
||||
imagePickerTheme: ImagePickerTheme(
|
||||
title: translations.imagePickerTitle,
|
||||
titleTextSize: 16,
|
||||
titleAlignment: TextAlign.center,
|
||||
theme: ImagePickerTheme(
|
||||
iconSize: 60.0,
|
||||
makePhotoText: translations.takePicture,
|
||||
selectImageText: translations.uploadFile,
|
||||
),
|
||||
customButton: ElevatedButton(
|
||||
closeButtonBuilder: (onCLose) => ElevatedButton(
|
||||
style: ElevatedButton.styleFrom(
|
||||
backgroundColor: Theme.of(context).primaryColor,
|
||||
),
|
||||
|
@ -167,6 +163,7 @@ Widget _createImagePickerContainer(
|
|||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
Scaffold _createScaffold(
|
||||
|
|
|
@ -25,7 +25,7 @@ dependencies:
|
|||
flutter_image_picker:
|
||||
git:
|
||||
url: https://github.com/Iconica-Development/flutter_image_picker
|
||||
ref: 1.0.5
|
||||
ref: 3.0.0
|
||||
flutter_profile:
|
||||
git:
|
||||
ref: 1.3.0
|
||||
|
|
Loading…
Reference in a new issue