LCOV - code coverage report
Current view: top level - icons/glyphs - calendar.dart Coverage Total Hit
Test: fossui coverage Lines: 100.0 % 7 7
Test Date: 2026-11-29 09:15:47 Functions: - 0 0

            Line data    Source code
       1              : part of '../foss_glyph.dart';
       2              : 
       3              : /// A calendar page: a bordered body with two top posts and a header rule.
       4              : class CalendarGlyph extends FossGlyph {
       5              :   /// Creates a calendar glyph in [color].
       6            1 :   const CalendarGlyph(super.color);
       7              : 
       8            2 :   @override
       9              :   double get _stroke => 0.08;
      10              : 
      11            2 :   @override
      12              :   void _draw(_Pen pen) => pen
      13            2 :     ..path(
      14              :       const [(0.16, 0.26), (0.84, 0.26), (0.84, 0.84), (0.16, 0.84)],
      15              :       close: true,
      16              :     )
      17            2 :     ..line(0.16, 0.42, 0.84, 0.42)
      18            2 :     ..line(0.34, 0.16, 0.34, 0.3)
      19            2 :     ..line(0.66, 0.16, 0.66, 0.3);
      20              : }
        

Generated by: LCOV version 2.0-1