You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
803 B
Dart

2 years ago
import 'package:flutter/cupertino.dart';
import 'package:isekai_wiki/styles.dart';
class IsekaiPageLargeTitle extends StatelessWidget {
final String text;
const IsekaiPageLargeTitle(this.text, { super.key });
@override
Widget build(BuildContext context) {
return Text(text,
style: const TextStyle(
color: Styles.themeNavTitleColor,
fontWeight: FontWeight.normal
),
);
}
}
class IsekaiPageNavTitle extends StatelessWidget {
final String text;
const IsekaiPageNavTitle(this.text, { super.key });
@override
Widget build(BuildContext context) {
return Text(text,
style: const TextStyle(
color: Styles.themeNavTitleColor,
fontWeight: FontWeight.normal,
fontSize: Styles.navTitleFontSize
),
);
}
}