Fixed Remaining Problems
This commit is contained in:
@ -2,12 +2,12 @@ import 'package:flutter/material.dart';
|
||||
|
||||
class HomeBottomNavBar extends StatelessWidget {
|
||||
final int currentIndex;
|
||||
final Function onTap;
|
||||
final void Function(int)? onTap;
|
||||
|
||||
const HomeBottomNavBar({
|
||||
super.key,
|
||||
@required this.currentIndex,
|
||||
@required this.onTap,
|
||||
required this.currentIndex,
|
||||
required this.onTap,
|
||||
});
|
||||
|
||||
@override
|
||||
|
@ -7,10 +7,10 @@ class ColorSettingsWidget extends StatelessWidget {
|
||||
|
||||
const ColorSettingsWidget({
|
||||
super.key,
|
||||
@required this.doneColor,
|
||||
@required this.leftColor,
|
||||
@required this.updateDoneColor,
|
||||
@required this.updateLeftColor,
|
||||
required this.doneColor,
|
||||
required this.leftColor,
|
||||
required this.updateDoneColor,
|
||||
required this.updateLeftColor,
|
||||
});
|
||||
|
||||
@override
|
||||
|
@ -7,8 +7,8 @@ class DurationSettingsWidget extends StatelessWidget {
|
||||
|
||||
const DurationSettingsWidget({
|
||||
super.key,
|
||||
@required this.duration,
|
||||
@required this.updateDuration,
|
||||
required this.duration,
|
||||
required this.updateDuration,
|
||||
});
|
||||
|
||||
@override
|
||||
|
Reference in New Issue
Block a user