From b0214609542e32160de01f76de1dfe4168996172 Mon Sep 17 00:00:00 2001 From: github-actions Date: Wed, 4 Sep 2024 17:14:24 +0100 Subject: [PATCH] docs: Add color swatch comment template --- lib/src/theme/color_swatch.dart | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/src/theme/color_swatch.dart b/lib/src/theme/color_swatch.dart index 0d4ce9aa..25879905 100644 --- a/lib/src/theme/color_swatch.dart +++ b/lib/src/theme/color_swatch.dart @@ -4,12 +4,19 @@ import 'package:flutter/material.dart'; import 'color_extensions.dart'; import 'contrast.dart'; -/// A swatch of colors with values from 10 (light) to 100 (dark). +/// {@template zeta-colors-swatch} +/// Contains shades from 10 (light) to 100 (dark). +/// +/// See also: +/// * [ColorSwatch]. +/// {@endtemplate} +/// /// {@category Theme} @immutable class ZetaColorSwatch extends ColorSwatch with EquatableMixin { /// Constructs a [ZetaColorSwatch]. /// + /// /// See also: /// * [MaterialColor]. const ZetaColorSwatch({