Sync analysis_options.yaml & cleanups (#117327)

This commit is contained in:
Michael Goderbauer
2022-12-20 14:15:39 -08:00
committed by GitHub
parent 81bc54be75
commit fdd2d7d64a
42 changed files with 88 additions and 151 deletions

View File

@@ -228,28 +228,6 @@ class OptionModel extends ChangeNotifier {
}
}
class LabeledCheckbox extends StatelessWidget {
const LabeledCheckbox({super.key, required this.label, this.onChanged, this.value});
final String label;
final ValueChanged<bool?>? onChanged;
final bool? value;
@override
Widget build(BuildContext context) {
return Row(
mainAxisSize: MainAxisSize.min,
children: <Widget>[
Checkbox(
onChanged: onChanged,
value: value,
),
Text(label),
],
);
}
}
class Options extends StatefulWidget {
const Options(this.model, {super.key});