buildCanvas method
Implementation
Future<bool> buildCanvas(BuildContext context) {
Size size = MediaQuery.of(context).size;
boxLocations = isTypeA
? TrailMakingLists()
.A(size.width, size.height - AppBar().preferredSize.height - 100)
: TrailMakingLists()
.B(size.width, size.height - AppBar().preferredSize.height - 100);
pathTracker = PathTracker(widget.eventLogger, boxLocations!);
return Future.value(true);
}