1
0
mirror of https://github.com/go-vikunja/app synced 2024-05-31 09:46:51 +00:00
app-mirror-github/lib/theme/buttonText.dart
Denys Vitali 056b2d72c9
chore: format code with dart format (#71)
This PR formats all code with dart format and adds a step to the CI so that it will be checked on every push and PR.
2024-04-05 22:36:56 +02:00

23 lines
499 B
Dart

import 'package:flutter/material.dart';
import 'package:vikunja_app/theme/constants.dart';
class VikunjaButtonText extends StatelessWidget {
final String text;
const VikunjaButtonText(
this.text, {
Key? key,
}) : super(key: key);
@override
Widget build(BuildContext context) {
return Text(text);
return Text(
text,
style: TextStyle(
color: Theme.of(context).primaryTextTheme.labelMedium?.color,
fontWeight: FontWeight.w600),
);
}
}