refactor: apply lint from analyzer

This commit is contained in:
validcube
2023-11-11 19:07:32 +07:00
committed by aAbed
parent d25d1efe9c
commit ad3a778fb9
40 changed files with 67 additions and 106 deletions

View File

@@ -2,10 +2,10 @@ import 'package:flutter/material.dart';
class CustomSwitch extends StatelessWidget {
const CustomSwitch({
Key? key,
super.key,
required this.onChanged,
required this.value,
}) : super(key: key);
});
final ValueChanged<bool> onChanged;
final bool value;