ELEC60013-ES-CW1/lib/view/steps/steps_today.dart

22 lines
599 B
Dart
Raw Normal View History

2022-02-09 18:29:27 +00:00
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)
],
)
);
}
}