cpd_2022_energy/lib/widgets/submit_button_widget.dart

27 lines
613 B
Dart
Raw Normal View History

2023-02-05 21:46:05 +01:00
import 'package:flutter/material.dart';
import 'input_card_widget.dart';
class SubmitButtonWidget extends StatelessWidget {
const SubmitButtonWidget({super.key});
@override
Widget build(BuildContext context) {
final ButtonStyle style =
ElevatedButton.styleFrom(textStyle: const TextStyle(fontSize: 20));
return Center(
child: Column(
mainAxisSize: MainAxisSize.min,
children: <Widget>[
ElevatedButton(
style: style,
onPressed: () {},
child: const Text('Calculate Energy'),
),
],
),
);
}
}