Skip to content

Commit

Permalink
feat: Run EMA tasks when EMA button pressed
Browse files Browse the repository at this point in the history
  • Loading branch information
mario-bermonti committed Apr 26, 2024
1 parent da2ad56 commit 19ff4b5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/src/ema/ema_button.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import 'package:flutter/material.dart';
import 'package:mdigit_span_tasks_ema/src/ema/run_ema_tasks.dart';

class EMAButton extends StatelessWidget {
const EMAButton({
Expand All @@ -8,7 +9,9 @@ class EMAButton extends StatelessWidget {
@override
Widget build(BuildContext context) {
return ElevatedButton(
onPressed: () {},
onPressed: () {
runEMATasks();
},
child: Text(
'EMA screen',
style: Theme.of(context).textTheme.titleLarge,
Expand Down

0 comments on commit 19ff4b5

Please sign in to comment.