mirror of
https://github.com/go-vikunja/app
synced 2024-06-02 18:49:47 +00:00
21 lines
478 B
Dart
21 lines
478 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),
|
|
);
|
|
}
|
|
}
|