SliverSafeArea
| Название типа | Поддерживает анимации свойств | Контроллируемый по умолчанию | Может содержать связанное действие | Ссылка |
|---|---|---|---|---|
| SliverSafeArea | ✗ | ✗ | ✗ | link |
Атрибуты (устаревшие модели)
final class SliverSafeAreaAttributes
implements DuitAttributes<SliverSafeAreaAttributes>, DuitSliverProps {
final bool left, top, right, bottom;
final EdgeInsets? minimum;
final bool? maintainBottomViewPadding;
final bool needsBoxAdapter;
const SliverSafeAreaAttributes({
required this.left,
required this.top,
required this.right,
required this.bottom,
this.minimum,
this.maintainBottomViewPadding,
required this.needsBoxAdapter,
});
Пример использования
- Go
SliverSafeArea(
&duit_attributes.SliverSafeAreaAttributes{
Left: true,
Top: true,
Right: true,
Bottom: true,
Minimum: duit_edge_insets.EdgeInsets{},
MaintainBottomViewPadding: true,
NeedsBoxAdapter: false,
},
"id",
false,
//child,
)