chore: Nicer checkboxes

pull/1859/head
Christian Kußowski 5 months ago
parent 5fb882955c
commit dbdd25aeb2
No known key found for this signature in database
GPG Key ID: E067ECD60F1A0652

@ -1,3 +1,4 @@
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:collection/collection.dart';
@ -262,12 +263,11 @@ class HtmlMessage extends StatelessWidget {
child: Padding(
padding: const EdgeInsets.symmetric(horizontal: 8.0),
child: SizedBox.square(
dimension: fontSize,
child: Checkbox.adaptive(
dimension: fontSize + 2,
child: CupertinoCheckbox(
checkColor: textColor,
side: BorderSide(color: textColor),
activeColor: textColor.withAlpha(64),
visualDensity: VisualDensity.compact,
value:
staticallyChecked || checkedByReaction != null,
onChanged: eventId == null ||

Loading…
Cancel
Save