DrawerTheme constructor
const
DrawerTheme({})
Creates a DrawerTheme.
All parameters are optional and will use system defaults when null.
Parameters:
surfaceOpacity(double?, optional): opacity for backdrop surface effectssurfaceBlur(double?, optional): blur intensity for backdrop effectsbarrierColor(Color?, optional): color of the modal barriershowDragHandle(bool?, optional): whether to show drag handlesdragHandleSize(Size?, optional): size of the drag handle
Example:
const DrawerTheme(
surfaceOpacity: 0.95,
showDragHandle: true,
barrierColor: Color.fromRGBO(0, 0, 0, 0.7),
)
Implementation
const DrawerTheme({
this.surfaceOpacity,
this.surfaceBlur,
this.barrierColor,
this.showDragHandle,
this.dragHandleSize,
});