fix: deprecated properties

This commit is contained in:
Dr-Blank 2024-09-18 00:00:27 -04:00
parent fe003de180
commit f645341a87
No known key found for this signature in database
GPG key ID: 7452CC63F210A266
3 changed files with 15 additions and 4 deletions

View file

@ -1,8 +1,10 @@
import 'package:flutter/material.dart';
import 'package:vaani/theme/theme.dart';
final ThemeData lightTheme = ThemeData(
brightness: Brightness.light,
colorScheme: ColorScheme.fromSeed(
seedColor: brandColor,
brightness: Brightness.light,
colorScheme: ColorScheme.light(
background: Colors.grey[200]!,
),
);