NomoScaffoldThemeData.from constructor

NomoScaffoldThemeData.from(
  1. NomoScaffoldColorData colors,
  2. NomoScaffoldSizingData sizing,
  3. NomoScaffoldConstants constants
)

Implementation

factory NomoScaffoldThemeData.from(
  NomoScaffoldColorData colors,
  NomoScaffoldSizingData sizing,
  NomoScaffoldConstants constants,
) {
  return NomoScaffoldThemeData(
    backgroundColor: colors.backgroundColor,
    padding: sizing.padding,
    showBottomBar: sizing.showBottomBar,
    showSider: sizing.showSider,
  );
}