ELEC60013-ES-CW1/App/lib/view/steps/steps_today.dart
2022-03-07 23:28:43 +00:00

22 lines
599 B
Dart

import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
class StepsToday extends StatelessWidget {
int count;
StepsToday(this.count);
@override
Widget build(BuildContext context) {
return Container(
child: Column(
children: [
Text("Steps today", style: TextStyle(color: Colors.black, fontWeight: FontWeight.bold, fontSize: 20), textAlign: TextAlign.center),
Text(count.toString(), style: TextStyle(color: Colors.green, fontWeight: FontWeight.bold, fontSize: 40), textAlign: TextAlign.center)
],
)
);
}
}