mirror of
https://github.com/go-vikunja/app
synced 2024-06-03 19:19:46 +00:00
056b2d72c9
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.
23 lines
499 B
Dart
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),
|
|
);
|
|
}
|
|
}
|