From 81c6906ebaafdc3795121ec284df33bee254468b Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Thu, 22 Apr 2021 22:12:21 +0200 Subject: [PATCH] fix: Remove the goddamn package from hell circular checkbox!!! Shame on you! SHAME! --- lib/views/widgets/list_items/chat_list_item.dart | 3 +-- pubspec.lock | 7 ------- pubspec.yaml | 1 - 3 files changed, 1 insertion(+), 10 deletions(-) diff --git a/lib/views/widgets/list_items/chat_list_item.dart b/lib/views/widgets/list_items/chat_list_item.dart index 0966e251..c58344da 100644 --- a/lib/views/widgets/list_items/chat_list_item.dart +++ b/lib/views/widgets/list_items/chat_list_item.dart @@ -1,6 +1,5 @@ import 'package:adaptive_dialog/adaptive_dialog.dart'; import 'package:adaptive_page_layout/adaptive_page_layout.dart'; -import 'package:circular_check_box/circular_check_box.dart'; import 'package:famedlysdk/famedlysdk.dart'; import 'package:fluffychat/config/themes.dart'; import 'package:fluffychat/utils/event_extension.dart'; @@ -154,7 +153,7 @@ class ChatListItem extends StatelessWidget { width: Avatar.defaultSize, height: Avatar.defaultSize, alignment: Alignment.center, - child: CircularCheckBox( + child: Checkbox( value: selected, onChanged: (_) => onLongPress(), ), diff --git a/pubspec.lock b/pubspec.lock index 43cfb308..c13f3caa 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -113,13 +113,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.2.0" - circular_check_box: - dependency: "direct main" - description: - name: circular_check_box - url: "https://pub.dartlang.org" - source: hosted - version: "1.0.4" cli_util: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 34dd43f7..215b0b21 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -53,7 +53,6 @@ dependencies: flutter_olm: ^1.1.1 flutter_openssl_crypto: ^0.0.1 intl: any - circular_check_box: ^1.0.4 flutter_localizations: sdk: flutter native_imaging: