NomoAppBarThemeData.from constructor

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

Implementation

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