Tinyrack

Separator

Divide content regions with a thin semantic line.

Divide content regions with a thin semantic line.

Contract

AxisContract
EmphasisdefaultVariant uses the control border color; muted uses the lower-emphasis semantic border color.
Orientationhorizontal spans the available width; vertical spans its parent height and keeps the configured minimum length.

Use the default variant between controls or choose muted for a lower-emphasis boundary between content regions.

Install

Add the package, then import its public library.

flutter pub add tinyrack_ui
import 'package:tinyrack_ui/tinyrack_ui.dart';

Playground

Usage

import 'package:material_ui/material_ui.dart';
import 'package:tinyrack_ui/tinyrack_ui.dart';

const TRSeparator(
  variant: TRSeparatorVariant.muted,
)

API

TRSeparator properties

PropType / defaultPurpose
orientationTRSeparatorOrientation · horizontalSelects a horizontal or vertical separator.
minLengthdouble? · nullOverrides the minimum length of a vertical separator.
variantTRSeparatorVariant · defaultVariantChooses the standard control border or muted semantic border color.