acterTestWidget function

void acterTestWidget(
  1. String description,
  2. dynamic actualTest, {
  3. bool skip = false,
  4. bool settle = true,
  5. dynamic timeout,
})

Implementation

void acterTestWidget(
  // ... forward the arguments ...
  String description,
  TWidgetTesterCallback actualTest, {
  bool skip = false,
  bool settle = true,
  Timeout? timeout,
}) {
  tTestWidgets(description, (t) async {
    _disableOverflowErrors();
    try {
      await actualTest(t);
    } finally {
      // reset regardless
      _resetDisableOverflowErrors();
    }
  });
}