MobileMenuConfiguration constructor
MobileMenuConfiguration({
- required int configurationId,
- required TargetedWidgetSnapshot liftImage,
- WidgetSnapshot? previewImage,
- Size? previewSize,
- required MenuHandle handle,
- required Widget backgroundBuilder(
- double opacity
- required Widget previewBuilder(),
- required IconThemeData iconTheme,
Implementation
MobileMenuConfiguration({
required this.configurationId,
required this.liftImage,
this.previewImage,
this.previewSize,
required this.handle,
required this.backgroundBuilder,
required this.previewBuilder,
required this.menuWidgetBuilder,
required this.iconTheme,
}) : assert(previewImage == null || previewSize == null,
'previewImage and previewSize are mutually exclusive');