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