fixed warnings after update
This commit is contained in:
@@ -84,9 +84,9 @@ class AverageSelectorState extends State<AverageSelector> {
|
||||
elevation: 8,
|
||||
scrollbarTheme: ScrollbarThemeData(
|
||||
radius: const Radius.circular(40),
|
||||
thickness: MaterialStateProperty.all<double>(6.0),
|
||||
trackVisibility: MaterialStateProperty.all<bool>(true),
|
||||
thumbVisibility: MaterialStateProperty.all<bool>(true),
|
||||
thickness: WidgetStateProperty.all<double>(6.0),
|
||||
trackVisibility: WidgetStateProperty.all<bool>(true),
|
||||
thumbVisibility: WidgetStateProperty.all<bool>(true),
|
||||
),
|
||||
offset: const Offset(-10, -10),
|
||||
),
|
||||
|
||||
@@ -205,7 +205,7 @@ class GradesPageState extends State<GradesPage> {
|
||||
? const Radius.circular(8.0)
|
||||
: const Radius.circular(16.0),
|
||||
),
|
||||
color: Theme.of(context).colorScheme.background,
|
||||
color: Theme.of(context).colorScheme.surface,
|
||||
),
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(
|
||||
@@ -256,7 +256,7 @@ class GradesPageState extends State<GradesPage> {
|
||||
? const Radius.circular(8.0)
|
||||
: const Radius.circular(16.0),
|
||||
),
|
||||
color: Theme.of(context).colorScheme.background,
|
||||
color: Theme.of(context).colorScheme.surface,
|
||||
),
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.only(
|
||||
@@ -307,7 +307,7 @@ class GradesPageState extends State<GradesPage> {
|
||||
bottomLeft: Radius.circular(16.0),
|
||||
bottomRight: Radius.circular(16.0),
|
||||
),
|
||||
color: Theme.of(context).colorScheme.background,
|
||||
color: Theme.of(context).colorScheme.surface,
|
||||
),
|
||||
child: ExamViewable(
|
||||
nearestExam,
|
||||
@@ -689,7 +689,7 @@ class GradesPageState extends State<GradesPage> {
|
||||
Container(
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.circular(12.0),
|
||||
color: Theme.of(context).colorScheme.background),
|
||||
color: Theme.of(context).colorScheme.surface),
|
||||
child: ListTile(
|
||||
title: Row(
|
||||
children: [
|
||||
@@ -721,7 +721,7 @@ class GradesPageState extends State<GradesPage> {
|
||||
Container(
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.circular(12.0),
|
||||
color: Theme.of(context).colorScheme.background),
|
||||
color: Theme.of(context).colorScheme.surface),
|
||||
child: ListTile(
|
||||
title: Row(
|
||||
children: [
|
||||
@@ -779,7 +779,7 @@ class GradesPageState extends State<GradesPage> {
|
||||
Container(
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.circular(12.0),
|
||||
color: Theme.of(context).colorScheme.background),
|
||||
color: Theme.of(context).colorScheme.surface),
|
||||
child: SwitchListTile(
|
||||
title: Row(
|
||||
children: [
|
||||
|
||||
@@ -179,7 +179,7 @@ class GradeGraphState extends State<GradeGraph> {
|
||||
? Alignment.topRight
|
||||
: Alignment.topLeft,
|
||||
style: TextStyle(
|
||||
backgroundColor: Theme.of(context).colorScheme.background,
|
||||
backgroundColor: Theme.of(context).colorScheme.surface,
|
||||
color: AppColors.of(context).text,
|
||||
fontSize: 16.0,
|
||||
fontWeight: FontWeight.w600,
|
||||
|
||||
Reference in New Issue
Block a user