Update quill_dropdown_button.dart

pull/794/head
mark8044 3 years ago committed by GitHub
parent 61691637a4
commit 1587e31e1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      lib/src/widgets/toolbar/quill_dropdown_button.dart

@ -94,18 +94,16 @@ class _QuillDropdownButtonState<T> extends State<QuillDropdownButton<T>> {
}
Widget _buildContent(BuildContext context) {
return ConstrainedBox(
constraints: const BoxConstraints.tightFor(width: 60),
child: Padding(
return Padding(
padding: const EdgeInsets.symmetric(horizontal: 8),
child: Row(
mainAxisSize: MainAxisSize.min,
children: [
Text(_currentValue.toString()),
Expanded(child: Container()),
const Icon(Icons.arrow_drop_down, size: 15)
SizedBox(width:6),
const Icon(Icons.arrow_drop_down, size: 17)
],
),
),
);
}
}

Loading…
Cancel
Save