import 'package:cpd_2022_energy/provider/energy_model.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; class OutputCardWidget extends StatelessWidget { const OutputCardWidget({super.key}); @override Widget build(BuildContext context) { return Consumer( builder: (context, model, child) => Card( child: Column(children: const [ Text('Joule:'), Text('Water:'), Text('Iron'), ]))); } }