Placeholder
        Inherits: LayoutControl
Properties
- 
          color(ColorValue) –The color of the placeholder box. 
- 
          content(Control | None) –An optional Controlto display inside the placeholder.
- 
          fallback_height(Number) –The height to use when the placeholder is in a situation with an unbounded height. 
- 
          fallback_width(Number) –The width to use when the placeholder is in a situation with an unbounded width. 
- 
          stroke_width(Number | None) –The width of the lines in the placeholder box. 
Examples#
Basic Example#
import flet as ft
def main(page: ft.Page):
    page.add(
        ft.Placeholder(
            expand=True,
            color=ft.Colors.random(),
        )
    )
ft.run(main)
Properties#
class-attribute
      instance-attribute
  
#
color: ColorValue = BLUE_GREY_700
The color of the placeholder box.
class-attribute
      instance-attribute
  
#
content: Control | None = None
An optional Control to display inside the placeholder.
class-attribute
      instance-attribute
  
#
fallback_height: Number = 400.0
The height to use when the placeholder is in a situation with an unbounded height.
