fix: Handle minor lint errors

This commit is contained in:
Alberto Ponces 2022-09-23 15:33:27 +01:00
parent 6abb761724
commit cf99069804

View File

@ -48,6 +48,7 @@ class CustomMaterialButton extends StatelessWidget {
}
}
// ignore: must_be_immutable
class TimerButton extends StatefulWidget {
Widget label;
bool isFilled;
@ -119,7 +120,7 @@ class _TimerButtonState extends State<TimerButton> {
onPressed: widget.isRunning ? null : widget.onTimerEnd,
child: Text(
widget.isRunning ? '${widget.seconds}' : 'Install',
style: TextStyle(
style: const TextStyle(
fontSize: 16,
fontWeight: FontWeight.w600,
),