27 lines
613 B
Dart
27 lines
613 B
Dart
|
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'),
|
||
|
),
|
||
|
],
|
||
|
),
|
||
|
);
|
||
|
}
|
||
|
}
|