Ejemplo n.º 1
0
        protected override void RegisterClasses()
        {
            ClassMapper
            .Add(() => ClassProvider.Bar())
            .If(() => ClassProvider.BackgroundColor(Background), () => Background != Background.None)
            .If(() => ClassProvider.BarShade(Theme), () => Theme != Theme.None)
            .If(() => ClassProvider.BarBreakpoint(Breakpoint), () => Breakpoint != Breakpoint.None)
            .If(() => ClassProvider.FlexAlignment(Alignment), () => Alignment != Alignment.None);

            base.RegisterClasses();
        }