forked from firka/firka
22 lines
580 B
Dart
22 lines
580 B
Dart
import 'package:firka_wear/ui/model/style.dart';
|
|
import 'package:flutter/material.dart';
|
|
|
|
class CounterDigitWidget extends StatelessWidget {
|
|
final String c;
|
|
final TextStyle? style;
|
|
|
|
const CounterDigitWidget(this.c, this.style, {super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Card(
|
|
shadowColor: Colors.transparent,
|
|
color: appStyle.colors.buttonSecondaryFill,
|
|
child: Padding(
|
|
padding: EdgeInsets.only(left: 8, right: 8, top: 4, bottom: 4),
|
|
child: Text(c, style: style),
|
|
),
|
|
);
|
|
}
|
|
}
|