materialTestApp function
Implementation
MaterialApp materialTestApp(Widget widget,
{String title = 'test', ThemeData? theme}) {
return MaterialApp(
title: title,
theme: theme ?? ThemeData(primarySwatch: Colors.blue),
home: widget,
);
}