654f4f2ffd
Also added real building and testing to the CICD
28 lines
662 B
Dart
28 lines
662 B
Dart
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,
|
|
),
|
|
),
|
|
));
|
|
}
|
|
}
|