on-internet
← Community

How to use LayoutBuilder without intrinsic dimensions?

Stack Overflow ·

I'm trying to achieve the following layout: Here's the code I'm currently working on: class TimelineList extends StatelessWidget { @override Widget build(BuildContext context) { return Column( children: [ IntrinsicHeight( child: Row( crossAxisAlignment: CrossAxisAlignment.stretch, children: [ _Timeline(hasUpperConnection: false, hasLowerConnection: true), const SizedBox(width: 24), Expanded(child: _LayoutBuilderWidget()), ], ), ), IntrinsicHeight( child: Row( crossAxisAlignment: CrossAxisAlignment.stretch, children: [ _Timeline(hasUpperConnection: true, hasLowerConnection: true), const SizedBo

Comments

Sign in or sign up to comment and upvote.

No comments yet.