Update quill_icon_theme.dart

Add padding to IconTheme
pull/1592/head
mark8044 2 years ago committed by GitHub
parent 33b5987ca7
commit aaad53b91b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      lib/src/models/themes/quill_icon_theme.dart

@ -1,5 +1,5 @@
import 'package:flutter/widgets.dart' show Color;
import 'package:flutter/material.dart';
import 'package:meta/meta.dart' show immutable;
@immutable
@ -11,7 +11,8 @@ class QuillIconTheme {
this.iconUnselectedFillColor,
this.disabledIconColor,
this.disabledIconFillColor,
this.borderRadius});
this.borderRadius,
this.padding});
///The color to use for selected icons in the toolbar
final Color? iconSelectedColor;
@ -33,4 +34,7 @@ class QuillIconTheme {
///The borderRadius for icons
final double? borderRadius;
///The padding for icons
final EdgeInsets? padding;
}

Loading…
Cancel
Save