import 'package:halkyon_ui/halkyon_ui.dart'; import 'package:material_ui/material_ui.dart'; /// [home] in an app as a Halkyon app builds one: the theme, and the /// package's texts beside Material's, in [locale]. Widget testApp( Widget home, { Locale locale = const Locale('en'), Brightness brightness = Brightness.light, }) => MaterialApp( theme: appTheme(brightness), locale: locale, localizationsDelegates: const [ HalkyonUiLocalizations.delegate, ...GlobalMaterialLocalizations.delegates, ], supportedLocales: HalkyonUiLocalizations.supportedLocales, home: home, );