Skip to content
New issue

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

No Detailed Line Number On Exception #192

Open
EmreSURK opened this issue Oct 29, 2023 · 1 comment
Open

No Detailed Line Number On Exception #192

EmreSURK opened this issue Oct 29, 2023 · 1 comment

Comments

@EmreSURK
Copy link

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();
  }
@iampawan
Copy link
Owner

It's an extension issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants