NomoSiderThemeData.from constructor

NomoSiderThemeData.from(
  1. NomoSiderColorData colors,
  2. NomoSiderSizingData sizing,
  3. NomoSiderConstants constants
)

Implementation

factory NomoSiderThemeData.from(
  NomoSiderColorData colors,
  NomoSiderSizingData sizing,
  NomoSiderConstants constants,
) {
  return NomoSiderThemeData(
    backgroundColor: colors.backgroundColor,
    border: colors.border,
    padding: sizing.padding,
    scrollPadding: sizing.scrollPadding,
    width: sizing.width,
  );
}