Last updated:
0 purchases
myself
MySelf Package #
About #
MySelf is a Flutter package that provides functionality for printing colored text in the console. It offers methods to print text in predefined colors, custom RGB colors, material colors, and hexadecimal colors.
They provide Animation, Form validation, and Beautiful Pre-defined Input Decorations.
Features #
Print text in predefined colors for success, error, and warning messages.
Print text in custom RGB colors.
Print text in material colors by providing a Color object.
Print text in colors specified by hexadecimal color codes.
Convert hexadecimal color codes to RGB values for color printing.
Installation #
To use MySelf in your Flutter project, add it as a dependency in your pubspec.yaml file:
dependencies:
myself: ^0.0.6
copied to clipboard
Usage #
Import the package in your Dart file:
import 'package:myself/myself.dart';
copied to clipboard
MySelfColor #
Instantiate the MySelfColor class to utilize its color printing methods:
MySelfColor mySelfColor = MySelfColor();
copied to clipboard
Print in Default Colors #
mySelfColor.printSuccess(text: "Operation successful");
mySelfColor.printError(text: "Error occurred");
mySelfColor.printWarning(text: "Proceed with caution");
copied to clipboard
Print in RGB Color #
mySelfColor.printRGB(255, 0, 0, "Custom red color");
copied to clipboard
Print in Material Color #
mySelfColor.colorPrint(Colors.blue, "Blue text");
copied to clipboard
Print in Hexadecimal Color #
mySelfColor.printHex("#FFA500", "Orange text");
copied to clipboard
This is only for the MySelfColor Class example. Please check other class in the Others.
Contributing #
Contributions to MySelf are welcome! If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request on GitHub.
License #
This package is licensed under the MIT License. See the LICENSE file for details.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.