mirror of
https://github.com/smmarty/friflex_flutter_starter.git
synced 2025-12-21 17:10:45 +00:00
22 lines
732 B
Dart
22 lines
732 B
Dart
import 'package:flutter/widgets.dart';
|
|
|
|
/// {@template HBox}
|
|
/// HBox виджет для вертикального отступа (Надстройка над SizedBox)
|
|
/// [height] - высота отступа
|
|
/// [key] - ключ виджета
|
|
/// {@endtemplate}
|
|
class HBox extends SizedBox {
|
|
/// {@macro HBox}
|
|
const HBox(double height, {super.key}) : super(height: height);
|
|
}
|
|
|
|
/// {@template WBox}
|
|
/// WBox виджет для вертикального отступа (Надстройка над SizedBox)
|
|
/// [width] - ширина отступа
|
|
/// [key] - ключ виджета
|
|
/// {@endtemplate}
|
|
class WBox extends SizedBox {
|
|
/// {@macro WBox}
|
|
const WBox(double width, {super.key}) : super(width: width);
|
|
}
|