We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
首次使用, 使用场景如下: 在弹窗里加了个ConstraintLayout, 弹窗使用的是SmartDialog,代码如下: Future<bool?> showUContractEnableDialog() { // var centerLine = cId("centerLine"); return SmartDialog.show( alignment: Alignment.center, builder: (context) { return Container( width: double.infinity, height: 300, margin: const EdgeInsets.only(left: 54, right: 54), padding: const EdgeInsets.only(left: 17, right: 17), decoration: BoxDecoration( color: ColorStyle.minePageCardBg, borderRadius: BorderRadius.circular(9)), child: ConstraintLayout( // width: matchParent, // height: wrapContent,
children: [ Text( "阿达斯大所大多", style: TextStyle(fontSize: 15), ).applyConstraint( // id: centerLine, left: parent.left, right: parent.right, ), ], ), ); },
); }
出现如下报错:
请问一下大佬如何解决这个问题
The text was updated successfully, but these errors were encountered:
往上翻,最根源的错误在最上面。
Sorry, something went wrong.
哦 是因为没有垂直的约束吧,, 确实是大意了
No branches or pull requests
首次使用, 使用场景如下:
在弹窗里加了个ConstraintLayout, 弹窗使用的是SmartDialog,代码如下:
Future<bool?> showUContractEnableDialog() {
// var centerLine = cId("centerLine");
return SmartDialog.show(
alignment: Alignment.center,
builder: (context) {
return Container(
width: double.infinity,
height: 300,
margin: const EdgeInsets.only(left: 54, right: 54),
padding: const EdgeInsets.only(left: 17, right: 17),
decoration: BoxDecoration(
color: ColorStyle.minePageCardBg,
borderRadius: BorderRadius.circular(9)),
child: ConstraintLayout(
// width: matchParent,
// height: wrapContent,
);
}
出现如下报错:
请问一下大佬如何解决这个问题
The text was updated successfully, but these errors were encountered: