No Detailed Line Number On Exception
EmreSURK opened this issue · comments
Emre ŞURK commented
When there is an exception in rendering, the error log points to the most parent non-velocity widget. It does not point widgets inside velocity widgets.
Cen be this fixable or it is not fixable by the nature of the extension mechanism?
Please see below:
The relevant error-causing widget was:
Row
Row:BlaBla/text_screen.dart:2:12
Widget standartCell() {
return Row( // the exception points here, 2. line.
children: [
[
SizedBox(height: 12, width: 12).box.yellow500.roundedFull.make().objectTopRight(),
[
"bla bla ".text.size(14).make().expand(), // the real exception is here.
"bla bla".text.size(14).color(kColorGray).make(),
].row(axisSize: MainAxisSize.min),
].column(axisSize: MainAxisSize.min),
],
).box.roundedSM.withShadow([kShadowCard]).white.make().h(80).px16().py12();
}
Pawan Kumar commented
It's an extension issue