File tree Expand file tree Collapse file tree 1 file changed +14
-17
lines changed Expand file tree Collapse file tree 1 file changed +14
-17
lines changed Original file line number Diff line number Diff line change @@ -126,23 +126,20 @@ class _DataChannelLoopBackSampleState extends State<DataChannelLoopBackSample> {
126
126
appBar: AppBar (
127
127
title: Text ('Data Channel Test' ),
128
128
),
129
- body: OrientationBuilder (
130
- builder: (context, orientation) {
131
- return Center (
132
- child: Column (
133
- mainAxisAlignment: MainAxisAlignment .center,
134
- children: [
135
- Text ('(caller)data channel 1:\n ' ),
136
- Container (
137
- child: Text (_dc1Status),
138
- ),
139
- Text ('\n\n (callee)data channel 2:\n ' ),
140
- Container (
141
- child: Text (_dc2Status),
142
- ),
143
- ],
144
- ));
145
- },
129
+ body: Center (
130
+ child: Column (
131
+ mainAxisAlignment: MainAxisAlignment .center,
132
+ children: [
133
+ Text ('(caller)data channel 1:\n ' ),
134
+ Container (
135
+ child: Text (_dc1Status),
136
+ ),
137
+ Text ('\n\n (callee)data channel 2:\n ' ),
138
+ Container (
139
+ child: Text (_dc2Status),
140
+ ),
141
+ ],
142
+ ),
146
143
),
147
144
floatingActionButton: FloatingActionButton (
148
145
onPressed: _inCalling ? _hangUp : _makeCall,
You can’t perform that action at this time.
0 commit comments