mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2025-12-06 19:19:28 +00:00
23 lines
559 B
Dart
23 lines
559 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class LibraryItemSliverAppBar extends StatelessWidget {
|
|
const LibraryItemSliverAppBar({
|
|
super.key,
|
|
});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return SliverAppBar(
|
|
// backgroundColor: Colors.transparent,
|
|
elevation: 0,
|
|
floating: true,
|
|
primary: true,
|
|
snap: true,
|
|
actions: [
|
|
// cast button
|
|
IconButton(onPressed: () {}, icon: const Icon(Icons.cast)),
|
|
IconButton(onPressed: () {}, icon: const Icon(Icons.more_vert)),
|
|
],
|
|
);
|
|
}
|
|
}
|