定制Drawer的滑出大小
我们来看看drawer的源码,其实看源码并不是一件痛苦的事,我们一般直接跳到build方法就好
?...听我这样解(Hu)释(Che),是不是对Drawer这个部件清晰了不少呀!...key,
this.elevation = 16.0,
this.child,
this.semanticLabel,
///new start
this.widthPercent...key,
this.elevation = 16.0,
this.child,
this.semanticLabel,
this.widthPercent,
})...key,
this.elevation = 16.0,
this.child,
this.semanticLabel,
this.widthPercent,
///add