chore: Nicer checkboxes
This commit is contained in:
parent
5fb882955c
commit
dbdd25aeb2
1 changed files with 3 additions and 3 deletions
|
|
@ -1,3 +1,4 @@
|
||||||
|
import 'package:flutter/cupertino.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
import 'package:collection/collection.dart';
|
import 'package:collection/collection.dart';
|
||||||
|
|
@ -262,12 +263,11 @@ class HtmlMessage extends StatelessWidget {
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: const EdgeInsets.symmetric(horizontal: 8.0),
|
padding: const EdgeInsets.symmetric(horizontal: 8.0),
|
||||||
child: SizedBox.square(
|
child: SizedBox.square(
|
||||||
dimension: fontSize,
|
dimension: fontSize + 2,
|
||||||
child: Checkbox.adaptive(
|
child: CupertinoCheckbox(
|
||||||
checkColor: textColor,
|
checkColor: textColor,
|
||||||
side: BorderSide(color: textColor),
|
side: BorderSide(color: textColor),
|
||||||
activeColor: textColor.withAlpha(64),
|
activeColor: textColor.withAlpha(64),
|
||||||
visualDensity: VisualDensity.compact,
|
|
||||||
value:
|
value:
|
||||||
staticallyChecked || checkedByReaction != null,
|
staticallyChecked || checkedByReaction != null,
|
||||||
onChanged: eventId == null ||
|
onChanged: eventId == null ||
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue