added rubik text theme

This commit is contained in:
asif
2025-08-29 21:48:34 +05:30
parent 9c60dc1c1c
commit f7dd31fb93

View File

@@ -1,5 +1,6 @@
import 'package:flutter/material.dart';
import 'theme_type.dart';
import 'package:google_fonts/google_fonts.dart';
class AppThemes {
static ThemeData getLightTheme(ThemeType type) {
@@ -25,9 +26,10 @@ class AppThemes {
);
return ThemeData.from(
colorScheme: colorScheme,
useMaterial3: true, // Recommended for modern Flutter apps
).copyWith(
colorScheme: colorScheme,
useMaterial3: true, // Recommended for modern Flutter apps
textTheme: GoogleFonts.rubikTextTheme())
.copyWith(
scaffoldBackgroundColor: Colors.white,
bottomNavigationBarTheme: BottomNavigationBarThemeData(
backgroundColor: colorScheme.surface,