File tree 1 file changed +7
-5
lines changed
1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -1020,6 +1020,12 @@ class _ComposeBoxLayout extends StatelessWidget {
1020
1020
),
1021
1021
);
1022
1022
1023
+ final composeButtons = [
1024
+ _AttachFileButton (contentController: contentController, contentFocusNode: contentFocusNode),
1025
+ _AttachMediaButton (contentController: contentController, contentFocusNode: contentFocusNode),
1026
+ _AttachFromCameraButton (contentController: contentController, contentFocusNode: contentFocusNode),
1027
+ ];
1028
+
1023
1029
return _ComposeBoxContainer (
1024
1030
child: Column (children: [
1025
1031
Row (crossAxisAlignment: CrossAxisAlignment .end, children: [
@@ -1034,11 +1040,7 @@ class _ComposeBoxLayout extends StatelessWidget {
1034
1040
const SizedBox (width: 8 ),
1035
1041
sendButton,
1036
1042
]),
1037
- Row (children: [
1038
- _AttachFileButton (contentController: contentController, contentFocusNode: contentFocusNode),
1039
- _AttachMediaButton (contentController: contentController, contentFocusNode: contentFocusNode),
1040
- _AttachFromCameraButton (contentController: contentController, contentFocusNode: contentFocusNode),
1041
- ]),
1043
+ Row (children: composeButtons),
1042
1044
]));
1043
1045
}
1044
1046
}
You can’t perform that action at this time.
0 commit comments