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

            Line data    Source code
       1              : part of '../foss_glyph.dart';
       2              : 
       3              : /// A warning mark: a triangle around an exclamation.
       4              : class WarningGlyph extends FossGlyph {
       5              :   /// Creates a warning glyph in [color].
       6            3 :   const WarningGlyph(super.color);
       7              : 
       8            3 :   @override
       9              :   double get _stroke => 0.09;
      10              : 
      11            3 :   @override
      12              :   void _draw(_Pen pen) => pen
      13            3 :     ..path(const [(0.5, 0.16), (0.9, 0.82), (0.1, 0.82)], close: true)
      14            3 :     ..line(0.5, 0.42, 0.5, 0.6)
      15            3 :     ..dot(0.5, 0.71);
      16              : }
        

Generated by: LCOV version 2.0-1