Album constructor

Album({
  1. Key? key,
  2. required AssetPathEntity entity,
  3. required PanelSetting panelSetting,
  4. required GallerySetting setting,
  5. dynamic onPressed(
    1. AssetPathEntity album
    )?,
  6. Color color = Colors.black,
})

Implementation

Album({
  Key? key,
  required this.entity,
  required this.panelSetting,
  required this.setting,
  this.onPressed,
  this.color = Colors.black,
}) : super(key: key) {
  imageSize = setting.albumImageSize ?? 48;
}