NomoRouteBodyThemeData.from constructor

NomoRouteBodyThemeData.from(
  1. NomoRouteBodyColorData colors,
  2. NomoRouteBodySizingData sizing,
  3. NomoRouteBodyConstants constants
)

Implementation

factory NomoRouteBodyThemeData.from(
  NomoRouteBodyColorData colors,
  NomoRouteBodySizingData sizing,
  NomoRouteBodyConstants constants,
) {
  return NomoRouteBodyThemeData(
    backgroundColor: colors.backgroundColor,
    background: colors.background,
    padding: sizing.padding,
    scrollBarThickness: sizing.scrollBarThickness,
    scrollBarRadius: sizing.scrollBarRadius,
    maxContentWidth: sizing.maxContentWidth,
  );
}