File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -149,18 +149,18 @@ class WrapperConstraintsExampleState extends State<WrapperConstraintsExample> {
149
149
item ('bottomRightTo' , Colors .green).applyConstraint (
150
150
bottomRightTo: rId (1 ),
151
151
),
152
- const Text (
153
- 'The display area is overlapping\n Please view it in full screen on the computer' ,
154
- style: TextStyle (
155
- color: Colors .redAccent,
156
- fontSize: 16 ,
152
+ Container (
153
+ color: Colors .black,
154
+ child: const Text (
155
+ 'The display area is overlapping\n Please view it in full screen on the computer' ,
156
+ style: TextStyle (
157
+ color: Colors .white,
158
+ fontSize: 16 ,
159
+ ),
160
+ textAlign: TextAlign .center,
157
161
),
158
- textAlign: TextAlign .center,
159
162
).applyConstraint (
160
163
topCenterTo: parent,
161
- margin: const EdgeInsets .only (
162
- top: 5 ,
163
- ),
164
164
visibility: rightX - 1 < leftX ? visible : gone,
165
165
),
166
166
],
You can’t perform that action at this time.
0 commit comments