NomoAppBarThemeData.from constructor

NomoAppBarThemeData.from(
  1. NomoAppBarColorData colors,
  2. NomoAppBarSizingData sizing
)

Implementation

factory NomoAppBarThemeData.from(
  NomoAppBarColorData colors,
  NomoAppBarSizingData sizing,
) {
  return NomoAppBarThemeData(
    borderRadius: colors.borderRadius,
    backgroundColor: colors.backgroundColor,
    spacing: sizing.spacing,
    topInset: sizing.topInset,
    height: sizing.height,
    elevation: sizing.elevation,
  );
}