Description
Currently, black and white blank slides (created via Expert Entry b:<text> / w:<text> or the Add Blank Slide dialog) are treated as special hardcoded cases where isBlack/isWhite forces a blank monochrome background and suppresses text/elements rendering. Furthermore, users cannot customize or change the background color of these slides in the Properties pane.
Requirements & Desired Behavior
- No Special Hardcoded Override:
- Black and white slides should not have special hardcoded bypasses that ignore text rendering or block style changes.
- Creating a black slide (e.g.
b:Prayer) should simply initialize its defaultSlideStyle/ background color to#000000(solid) and text color to#FFFFFF. - Creating a white slide (e.g.
w:Sermon) should simply initialize its defaultSlideStyle/ background color to#FFFFFF(solid) and text color to#000000.
- Full Customization in Properties Pane:
- Users must be able to edit the background (solid color, gradient, image) and text styling (color, font, size, alignment) of black/white slides in the Properties pane just like any other slide.
- Render Text & Elements Correctly:
SharedSlideCompositionWidget, PPTX export, image/PDF exports, and the remote web console must render any text content (Prayer,Sermon, etc.) using the effective slide style without wiping the slide or returning an empty box.
Technical Implementation Notes
- Expert Entry & Add Dialog:
- When creating a
Bslide, assign aSlideStylewithbgType: BackgroundType.solid,bgHex: "#000000", andtextColorHex: "#FFFFFF"(orServiceTextItem/ServiceBlankItemwithcustomSlideStyle). - When creating a
Wslide, assign aSlideStylewithbgType: BackgroundType.solid,bgHex: "#FFFFFF", andtextColorHex: "#000000".
- When creating a
- Slide Rendering (
SharedSlideCompositionWidget,SlideExportService,remote_server_html.dart):- Remove hardcoded early-returns on
isBlack/isWhiteso that background colors and foreground text/elements render normally fromSlideStyle. - Maintain live blackout/whiteout toggle (
isLiveBlackout/isLiveWhiteout) only for the live emergency presentation state.
- Remove hardcoded early-returns on
- Properties Pane:
- Ensure the Background & Fill and Typography & Formatting sections seamlessly bind to the slide’s
customSlideStyleand update live.
- Ensure the Background & Fill and Typography & Formatting sections seamlessly bind to the slide’s