ExpandableThemeData.from constructor

ExpandableThemeData.from(
  1. ExpandableColorData colors,
  2. ExpandableSizingData sizing,
  3. ExpandableConstants constants
)

Implementation

factory ExpandableThemeData.from(
  ExpandableColorData colors,
  ExpandableSizingData sizing,
  ExpandableConstants constants,
) {
  return ExpandableThemeData(
    titlePadding: colors.titlePadding,
    childrenPadding: colors.childrenPadding,
    borderRadius: colors.borderRadius,
    highlightColor: colors.highlightColor,
    focusColor: colors.focusColor,
    splashColor: colors.splashColor,
    hoverColor: colors.hoverColor,
    iconColor: colors.iconColor,
    iconSize: sizing.iconSize,
  );
}