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