24 lines
456 B
Dart
24 lines
456 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class SpaceHeight extends StatelessWidget {
|
|
const SpaceHeight(this.height, {super.key});
|
|
|
|
final double height;
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return SizedBox(height: height);
|
|
}
|
|
}
|
|
|
|
class SpaceWidth extends StatelessWidget {
|
|
const SpaceWidth(this.width, {super.key});
|
|
|
|
final double width;
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return SizedBox(width: width);
|
|
}
|
|
}
|