LogPrint class
This class designed for managing console log in debug mode and release mode. it can print colorful in vscode only. android studio not supporting colorful print.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- message ↔ String
-
message that must print in console
getter/setter pair
- messageBackgroundColor ↔ Color?
-
if messageBackgroundColor has a value, message shows by messageBackgroundColor
getter/setter pair
- messageColor ↔ Color?
-
if messageColor has a value, message shows by messageColor
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title ↔ String?
-
if type == custom and title has a value, title shows between <>
getter/setter pair
- titleBackgroundColor ↔ Color?
-
if type == custom and titleBackgroundColor has a value, title shows by titleBackgroundColor
getter/setter pair
- titleColor ↔ Color?
-
if type == custom and titleColor has a value, title shows by titleColor
getter/setter pair
- type ↔ LogPrintType
-
determines log print type {success, info, warning, error, custom}
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited