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> {
149149 item ('bottomRightTo' , Colors .green).applyConstraint (
150150 bottomRightTo: rId (1 ),
151151 ),
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,
157161 ),
158- textAlign: TextAlign .center,
159162 ).applyConstraint (
160163 topCenterTo: parent,
161- margin: const EdgeInsets .only (
162- top: 5 ,
163- ),
164164 visibility: rightX - 1 < leftX ? visible : gone,
165165 ),
166166 ],
You can’t perform that action at this time.
0 commit comments