mirror of
https://github.com/foss42/apidash.git
synced 2025-12-06 04:56:16 +08:00
removed unnecessary Intrinsicheight
This commit is contained in:
@@ -67,22 +67,20 @@ class _CodeGenPreviewerState extends State<CodeGenPreviewer> {
|
|||||||
controller: controllerH,
|
controller: controllerH,
|
||||||
child: SingleChildScrollView(
|
child: SingleChildScrollView(
|
||||||
controller: controllerV,
|
controller: controllerV,
|
||||||
child: IntrinsicHeight(
|
child: ConstrainedBox(
|
||||||
child: ConstrainedBox(
|
constraints: BoxConstraints(
|
||||||
constraints: BoxConstraints(
|
minHeight: constraints.maxHeight,
|
||||||
minHeight: constraints.maxHeight,
|
),
|
||||||
),
|
child: SingleChildScrollView(
|
||||||
child: SingleChildScrollView(
|
scrollDirection: Axis.horizontal,
|
||||||
scrollDirection: Axis.horizontal,
|
controller: controllerH,
|
||||||
controller: controllerH,
|
child: SelectionArea(
|
||||||
child: SelectionArea(
|
child: Text.rich(
|
||||||
child: Text.rich(
|
TextSpan(
|
||||||
TextSpan(
|
children: spans,
|
||||||
children: spans,
|
style: textStyle,
|
||||||
style: textStyle,
|
|
||||||
),
|
|
||||||
softWrap: false,
|
|
||||||
),
|
),
|
||||||
|
softWrap: false,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user