fix: make components nullable #221
| @ -57,9 +57,13 @@ class BottomNavigationBarLayout extends StructuralLayout { | ||||
|   Widget build(BuildContext context) => Scaffold( | ||||
|         body: body, | ||||
|         bottomNavigationBar: custom?.call( | ||||
|               context.components.bottomNavigationBarComponent(barId).call(), | ||||
|               context.components | ||||
|                   .bottomNavigationBarComponentOrNull(barId) | ||||
|                   ?.call(), | ||||
|             ) ?? | ||||
|             context.components.bottomNavigationBarComponent(barId).call(), | ||||
|             context.components | ||||
|                 .bottomNavigationBarComponentOrNull(barId) | ||||
|                 ?.call(), | ||||
|         floatingActionButtonLocation: | ||||
|             scaffoldFieldsWrapper?.floatingActionButtonLocation, | ||||
|         floatingActionButtonAnimator: | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user