add fillHeight option to setBackgroundImage
This commit is contained in:
@@ -90,6 +90,10 @@ class _ExampleWidgetState extends State<ExampleWidget> {
|
||||
_item(() {
|
||||
_filamentController.setBackgroundImage('assets/background.ktx');
|
||||
}, "load background image"),
|
||||
_item(() {
|
||||
_filamentController.setBackgroundImage('assets/background.ktx',
|
||||
fillHeight: true);
|
||||
}, "load background image (fill height)"),
|
||||
_item(() {
|
||||
_filamentController
|
||||
.loadSkybox('assets/default_env/default_env_skybox.ktx');
|
||||
|
||||
Reference in New Issue
Block a user