opt: select (#937)

This commit is contained in:
My-Responsitories
2025-08-05 13:41:37 +08:00
committed by GitHub
parent afb09e8a0a
commit 01552801f2
20 changed files with 425 additions and 595 deletions

View File

@@ -4,7 +4,7 @@ import 'package:get/get.dart';
class MultiSelectAppBarWidget extends StatelessWidget
implements PreferredSizeWidget {
final MultiSelectMixin ctr;
final MultiSelectBase ctr;
final bool? visible;
final AppBar child;
final List<Widget>? children;
@@ -19,8 +19,7 @@ class MultiSelectAppBarWidget extends StatelessWidget
@override
Widget build(BuildContext context) {
final visible = this.visible ?? ctr.enableMultiSelect.value;
if (visible) {
if (visible ?? ctr.enableMultiSelect.value) {
return AppBar(
bottom: child.bottom,
leading: IconButton(