|
|
|
@ -39,7 +39,10 @@ class NewPrivateChatView extends StatelessWidget {
|
|
|
|
|
)
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
body: MaxWidthBody(
|
|
|
|
|
body: Column(
|
|
|
|
|
children: [
|
|
|
|
|
Expanded(
|
|
|
|
|
child: MaxWidthBody(
|
|
|
|
|
withScrolling: true,
|
|
|
|
|
child: Container(
|
|
|
|
|
margin: const EdgeInsets.all(_qrCodePadding),
|
|
|
|
@ -71,7 +74,8 @@ class NewPrivateChatView extends StatelessWidget {
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
bottomNavigationBar: MaxWidthBody(
|
|
|
|
|
),
|
|
|
|
|
MaxWidthBody(
|
|
|
|
|
withScrolling: false,
|
|
|
|
|
child: Padding(
|
|
|
|
|
padding: const EdgeInsets.all(12.0),
|
|
|
|
@ -102,12 +106,17 @@ class NewPrivateChatView extends StatelessWidget {
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
floatingActionButtonLocation: FloatingActionButtonLocation.centerFloat,
|
|
|
|
|
floatingActionButton: PlatformInfos.isMobile && !controller.hideFab
|
|
|
|
|
? FloatingActionButton.extended(
|
|
|
|
|
? Padding(
|
|
|
|
|
padding: const EdgeInsets.only(bottom: 64.0),
|
|
|
|
|
child: FloatingActionButton.extended(
|
|
|
|
|
onPressed: controller.openScannerAction,
|
|
|
|
|
label: Text(L10n.of(context)!.scanQrCode),
|
|
|
|
|
icon: const Icon(Icons.camera_alt_outlined),
|
|
|
|
|
),
|
|
|
|
|
)
|
|
|
|
|
: null,
|
|
|
|
|
);
|
|
|
|
|