debugThrowLayout method

void debugThrowLayout(
  1. FlutterError error
)

Throws an error as a result of an incorrect layout phase e.g. calling inflate during a dry layout.

Override to improve the reporting of these kinds of errors.

Implementation

void debugThrowLayout(FlutterError error) {
  throw error;
}