summaryrefslogtreecommitdiff
path: root/lib/widgets/album_placeholder.dart
blob: 420c2e9ccee9ec97b9f984fda8df6bc5e989d590 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import 'package:flutter/material.dart';

class AlbumPlaceholder extends StatelessWidget {
  final double size;

  const AlbumPlaceholder(this.size, {super.key});

  @override
  Widget build(BuildContext context) {
    return Container(
      height: size,
      width: size,
      color: Theme.of(context).colorScheme.secondaryContainer,
      child: Icon(
        Icons.album,
        size: 60.0,
        color: Theme.of(context).colorScheme.onSecondaryContainer,
      ),
    );
  }
}