beatly-dev / beatx

A framework to facilitate flutter application development
0 stars 0 forks source link

bug(cli): handling previous route data #3

Open wurikiji opened 2 years ago

wurikiji commented 2 years ago
  void go(BuildContext context) => context.go(location, extra: this);

should be

void go(BuildContext context) => context.go(location, extra: this.extra);

// or 

void go(BuildContext context) => context.go(location, extra: null);

// or

void go(BuildContext context) => context.go(location, extra: /* previous extra */);
wurikiji commented 2 years ago

Previous .params, .extra, .queryParams should be used