Format code

pull/839/head
X Code 3 years ago
parent 92100f21d2
commit 44cec2f5f0
  1. 4
      lib/src/widgets/toolbar.dart

@ -196,9 +196,7 @@ class QuillToolbar extends StatelessWidget implements PreferredSizeWidget {
value: fontSize.value, value: fontSize.value,
child: Text(fontSize.key.toString(), child: Text(fontSize.key.toString(),
style: TextStyle( style: TextStyle(
color: fontSize.value == '0' color: fontSize.value == '0' ? Colors.red : null)),
? Colors.red
: null)),
), ),
], ],
onSelected: (newSize) { onSelected: (newSize) {

Loading…
Cancel
Save