ContextMenuSliver constructor

ContextMenuSliver({
  1. Key? key,
  2. String title = 'Menu',
  3. double height = 200,
  4. double width = 150,
  5. Color titleBackgroundColor = Colors.green,
  6. TextStyle? titleStyle,
  7. Color widgetBackgroundColor = Colors.amber,
  8. List<Widget> children = const [Center(child: Text('Empty'))],
})

Implementation

ContextMenuSliver({
  Key? key,
  this.title = 'Menu',
  this.height = 200,
  this.width = 150,
  this.titleBackgroundColor = Colors.green,
  this.titleStyle,
  this.widgetBackgroundColor = Colors.amber,
  this.children = const [Center(child: Text('Empty'))],
});