construct method

  1. @override
Widget construct({
  1. Args? args,
})
override

Constructs the Unit using the provided Args.

This method combines the functionality of ArgsBuilder.buildArgs and UnitBuilder.buildUnit to create the final unit for testing.

@return The constructed Unit.

Implementation

@override
Widget construct({Args? args}) {
  useMaterialApp();
  return super.construct();
}