Foundation
Divider
LiqDivider is the iOS 26 hairline rule. It paints at the platform
physical thickness of 0.33pt with adaptive light/dark separator
color, fills its parent along the long axis, and accepts symmetric
indent / endIndent insets. LiqLabeledDivider lays out two
hairlines flanking a centered text label such as "OR".
Horizontal
import 'package:docs_snippets/src/snippet_frame.dart';import 'package:flutter/widgets.dart';import 'package:liqkit_ui/liqkit_ui.dart';/// Snippet builder consumed by `apps/docs_snippets/lib/src/routes.g.dart`.Widget dividerHorizontalBuilder(BuildContext context) { return const SnippetFrame( child: Column( mainAxisSize: MainAxisSize.min, children: [ SnippetLabel('Section A'), SizedBox(height: 12), LiqDivider(), SizedBox(height: 12), SnippetLabel('Section B'), ], ), );}
Vertical
import 'package:docs_snippets/src/snippet_frame.dart';import 'package:flutter/widgets.dart';import 'package:liqkit_ui/liqkit_ui.dart';/// Snippet builder consumed by `apps/docs_snippets/lib/src/routes.g.dart`.Widget dividerVerticalBuilder(BuildContext context) { return const SnippetFrame( child: SizedBox( height: 60, child: Row( mainAxisSize: MainAxisSize.min, children: [ SnippetLabel('Left'), SizedBox(width: 12), LiqDivider(orientation: LiqDividerOrientation.vertical), SizedBox(width: 12), SnippetLabel('Right'), ], ), ), );}
With Label
// ignore_for_file: file_names // hyphenated name required by snippet manifest conventionimport 'package:docs_snippets/src/snippet_frame.dart';import 'package:flutter/widgets.dart';import 'package:liqkit_ui/liqkit_ui.dart';/// Snippet builder consumed by `apps/docs_snippets/lib/src/routes.g.dart`.Widget dividerWithLabelBuilder(BuildContext context) { return const SnippetFrame( child: LiqLabeledDivider(label: 'OR'), );}