implemented basic home view

This commit is contained in:
2025-08-02 15:08:09 +02:00
parent 7000429856
commit e1bc0c946f
3 changed files with 173 additions and 5 deletions

View File

@@ -0,0 +1,34 @@
import 'package:flutter/material.dart';
import 'package:game_tracker/core/custom_theme.dart';
Widget PrimaryOutlinedButton({
required String text,
required onPressed,
}) {
return SizedBox(
height: 65,
child: OutlinedButton(
onPressed: onPressed,
style: OutlinedButton.styleFrom(
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(16.0),
),
backgroundColor: CustomTheme.primaryColor,
),
child: SizedBox(
width: double.infinity,
child: Text(
text,
textAlign: TextAlign.center,
softWrap: true,
overflow: TextOverflow.ellipsis,
maxLines: 2,
style: const TextStyle(
color: Colors.white,
fontSize: 15,
),
),
),
),
);
}