This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ignore_for_file: library_private_types_in_public_api | |
| extension AnsiColorLog on String { | |
| _FG get fg => _FG(this); | |
| _BG get bg => _BG(this); | |
| } | |
| /// Colors for the ForeGround | |
| class _FG { | |
| const _FG(this.t); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/material.dart'; | |
| class HarryPoter extends StatefulWidget { | |
| const HarryPoter({ | |
| super.key, | |
| required this.child, | |
| }); | |
| final Widget child; |