mirror of
https://github.com/friebetill/TubeCards.git
synced 2025-08-14 09:54:12 +08:00
23 lines
406 B
Dart
23 lines
406 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class SliverSizedBox extends StatelessWidget {
|
|
const SliverSizedBox({
|
|
Key? key,
|
|
this.height,
|
|
this.width,
|
|
}) : super(key: key);
|
|
|
|
final double? height;
|
|
final double? width;
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return SliverToBoxAdapter(
|
|
child: SizedBox(
|
|
height: height,
|
|
width: width,
|
|
),
|
|
);
|
|
}
|
|
}
|