Skip to content

No Detailed Line Number On Exception #192

@EmreSURK

Description

@EmreSURK

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();
  }

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions