ZoomControlsTheme constructor

const ZoomControlsTheme({
  1. double width = 128.0,
  2. double height = 32.0,
  3. BorderRadius borderRadius = const BorderRadius.all(Radius.circular(3.0)),
  4. List<BoxShadow> shadow = const [BoxShadow(blurRadius: 2.0, color: Color.fromRGBO(0, 0, 0, 0.25), offset: Offset(0.0, 1.0))],
  5. EdgeInsets padding = const EdgeInsets.all(3.5),
  6. double buttonRowWidth = 64.0,
  7. Icon zoomOutIcon = const Icon(Icons.zoom_out),
  8. Icon zoomInIcon = const Icon(Icons.zoom_in),
  9. double distanceToBorder = 8.0,
  10. Alignment alignment = Alignment.bottomCenter,
})

Implementation

const ZoomControlsTheme({
  this.width = 128.0,
  this.height = 32.0,
  this.borderRadius = const BorderRadius.all(
    Radius.circular(3.0),
  ),
  this.shadow = const [
    BoxShadow(
      blurRadius: 2.0,
      color: Color.fromRGBO(0, 0, 0, 0.25),
      offset: Offset(0.0, 1.0),
    ),
  ],
  this.padding = const EdgeInsets.all(3.5),
  this.buttonRowWidth = 64.0,
  this.zoomOutIcon = const Icon(Icons.zoom_out),
  this.zoomInIcon = const Icon(Icons.zoom_in),
  this.distanceToBorder = 8.0,
  this.alignment = Alignment.bottomCenter,
});