flutter: Change App name font size to 48
This commit is contained in:
parent
d9da832bdb
commit
5903de20ca
|
@ -87,7 +87,7 @@ class _MainMenuState extends State<MainMenu> with TickerProviderStateMixin {
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
//
|
//
|
||||||
final nameShadow = Shadow(
|
final appNameShadow = Shadow(
|
||||||
color: Color.fromARGB(0x99, 66, 0, 0),
|
color: Color.fromARGB(0x99, 66, 0, 0),
|
||||||
offset: Offset(0, shadowAnimation.value / 2),
|
offset: Offset(0, shadowAnimation.value / 2),
|
||||||
blurRadius: shadowAnimation.value,
|
blurRadius: shadowAnimation.value,
|
||||||
|
@ -98,11 +98,12 @@ class _MainMenuState extends State<MainMenu> with TickerProviderStateMixin {
|
||||||
blurRadius: shadowAnimation.value / 3,
|
blurRadius: shadowAnimation.value / 3,
|
||||||
);
|
);
|
||||||
|
|
||||||
final nameStyle = TextStyle(
|
final appNameStyle = TextStyle(
|
||||||
fontSize: 64,
|
fontSize: 48,
|
||||||
color: Colors.black,
|
color: Colors.black,
|
||||||
shadows: [nameShadow],
|
shadows: [appNameShadow],
|
||||||
);
|
);
|
||||||
|
|
||||||
final menuItemStyle = TextStyle(
|
final menuItemStyle = TextStyle(
|
||||||
fontSize: 28,
|
fontSize: 28,
|
||||||
color: UIColors.primaryColor,
|
color: UIColors.primaryColor,
|
||||||
|
@ -116,7 +117,7 @@ class _MainMenuState extends State<MainMenu> with TickerProviderStateMixin {
|
||||||
Transform.scale(
|
Transform.scale(
|
||||||
scale: inAnimation.value,
|
scale: inAnimation.value,
|
||||||
child: Text(S.of(context).appName,
|
child: Text(S.of(context).appName,
|
||||||
style: nameStyle, textAlign: TextAlign.center),
|
style: appNameStyle, textAlign: TextAlign.center),
|
||||||
),
|
),
|
||||||
Expanded(child: SizedBox()),
|
Expanded(child: SizedBox()),
|
||||||
FlatButton(
|
FlatButton(
|
||||||
|
|
Loading…
Reference in New Issue