装饰器Builder装饰器BuilderParam<fontstyle"color:rgba(0,0,0,0.9);">BuilderParam<font>该装饰器用于声明任意UI描述的一个元素,类似slot占位符。链接简而言之:就是自定义组件允许外部传递UISonCom的实现略EntryComponentstructIndex{build(){Column({space:15}){SonCom(){直接传递进来(尾随闭包)Button('传入的结构').onClick(()>{AlertDialog.show({message:'点了Button'})})}}}}2.1单个BuilderParam参数i...