-
-
Notifications
You must be signed in to change notification settings - Fork 284
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
Use case
Before, i use buildAsyncBuilder to get real html height, like:
buildAsyncBuilder: (context, snapshot) => isDebug && snapshot.hasError
? Container(
child: Text(snapshot.error.toString()),
)
: snapshot.hasData
? MeasureSize(
onChange: (Size? size) {
// print('size ${size?.height}');
if (size != null) _post.extraCache.measureHeight = size.height;
},
child: snapshot.data)
: Container(
height: _post.extraCache.measureHeight,
child: Loading(),
),but now i can't find a entrypoint to do this.
How can i do this like before?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested