DeviceFrameToolbar constructor

const DeviceFrameToolbar({
  1. Key? key,
  2. required DevicePreset selectedDevice,
  3. required DeviceOrientation orientation,
  4. required ValueChanged<DevicePreset> onDeviceChanged,
  5. required ValueChanged<DeviceOrientation> onOrientationChanged,
  6. double paddingVertical = 0,
  7. double paddingHorizontal = 0,
  8. ValueChanged<double>? onPaddingVerticalChanged,
  9. ValueChanged<double>? onPaddingHorizontalChanged,
})

Implementation

const DeviceFrameToolbar({
  super.key,
  required this.selectedDevice,
  required this.orientation,
  required this.onDeviceChanged,
  required this.onOrientationChanged,
  this.paddingVertical = 0,
  this.paddingHorizontal = 0,
  this.onPaddingVerticalChanged,
  this.onPaddingHorizontalChanged,
});