When running your code with the latest Flet version (0.26.0), I get the following instead:

When I add bgcolor=ft.colors.SURFACE_CONTAINER_HIGHEST to the inner-Container I get:

If I additionally uncomment the theme you had theme=ft.Theme(color_scheme_seed=ft.colors.RED), I get:
Hope it helps!