adding tests to the flutter results widget - lightly designing it. Added in a testing widget for being able to test widgets without a camera - camera components needs to be updated not to crash the app later though.

Also added real building and testing to the CICD
This commit is contained in:
Lucas Oskorep
2022-07-09 17:37:33 -04:00
parent a6e3038cb8
commit 654f4f2ffd
8 changed files with 115 additions and 50 deletions
+27
View File
@@ -0,0 +1,27 @@
import 'package:flutter/material.dart';
class WidgetTestApp extends StatelessWidget {
final List<Widget> widgets;
const WidgetTestApp(this.widgets, {Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Test App',
theme: ThemeData(
primarySwatch: Colors.lightBlue,
),
home: Scaffold(
appBar: AppBar(
title: const Text('TEST APP'),
),
body: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.start,
children: widgets,
),
),
));
}
}