fix: checkbox empty selection

This commit is contained in:
DenserMeerkat
2024-03-16 16:29:35 +05:30
parent 3a7ae71796
commit e421650617
3 changed files with 42 additions and 27 deletions

View File

@ -3,7 +3,7 @@ import 'package:flutter/material.dart';
class CheckBox extends StatelessWidget {
final String keyId;
final bool value;
final ValueChanged<bool?> onChanged;
final ValueChanged<bool?>? onChanged;
final ColorScheme? colorScheme;
const CheckBox({
super.key,