पैकेज, रिपॉज़िटरी और ऐप श्रेणियाँ खोजें

rich_console कवर
पैकेज विवरणv1.0.7+2

rich_console

अपने डिबगिंग, कंसोल प्रोग्राम या विश्लेषण प्रतिक्रिया को समृद्ध बनाएं - अपने कंसोल में रंग और शैली प्रिंट करें।

AndroidiOSWebmacOSWindowsLinux
30-दिन डाउनलोड
109
लाइक
6
Pub अंक
120

पैकेज इंस्टॉल करें

flutter pub add rich_console

पैकेज अवलोकन

सार्वजनिक जानकारी से बना चयन मार्गदर्शन। केवल संदर्भ हेतु।

rich_console एक Flutter/Dart पैकेज है जो टर्मिनल-आधारित एप्लिकेशन में कंसोल आउटपुट को रंगीन टेक्स्ट और स्टाइलिंग के साथ बढ़ाता है। यह डेवलपर्स को डिबगिंग मैसेज, लॉग्स और रनटाइम फीडबैक में दृश्य स्पष्टता जोड़ने की अनुमति देता है, जिसमें कस्टमाइज़ेबल रंग, फॉन्ट और फॉर्मेटिंग शामिल है। कमांड-लाइन टूल्स, डिबगर्स या विश्लेषण उपकरण के लिए आदर्श, यह विभिन्न प्लेटफॉर्मों पर पठनीयता और उपयोगकर्ता अनुभव को बेहतर बनाता है। पैकेज को Flutter प्रोजेक्ट्स में बिना किसी दिक्कत के एकीकृत किया जा सकता है और सभी प्रमुख प्लेटफॉर्मों का समर्थन करता है, जिनमें Android, iOS, Web, macOS, Windows और Linux शामिल हैं।

उपयोग

  • डिबगिंग CLI टूल्स
  • लॉग पठनीयता में सुधार करना
  • इंटरैक्टिव कंसोल एप्लिकेशन्स
  • रियल-टाइम फीडबैक प्रणाली
  • परीक्षण और विकास कार्य प्रवाह
  • टर्मिनल में डेटा का दृश्यीकरण

मुख्य विशेषताएँ

  • रंगीन कंसोल आउटपुट
  • पाठ शैली (बोल्ड, इटैलिक, अंडरलाइन)
  • क्रॉस-प्लेटफॉर्म संगतता
  • सरल API एकीकरण
  • कस्टमाइज़ किए गए थीम
  • टर्मिनल-मित्र फॉर्मेटिंग

इनके लिए उपयुक्त

  • CLI ऐप्स बनाने वाले डेवलपर्स
  • डिबग दृश्यता में सुधार करने वाली टीमें
  • शैक्षिक या पाठ्योपकरण उपकरण
  • टर्मिनल में डेटा विज़ुअलाइज़ेशन
  • डेव वातावरण में लॉगिंग सुधार

विचार योग्य बातें

  • केवल कंसोल आउटपुट तक सीमित
  • सभी टर्मिनल एमुलेटर में काम नहीं कर सकता है
  • गैर-अंतिम पर्यावरणों के लिए समर्थन नहीं
  • प्लेटफॉर्म-विशिष्ट ANSI एस्केप कोड पर निर्भर करता है
  • यूआई रेंडरिंग के लिए नहीं बनाया गया है
  • हाथ से थीम कॉन्फ़िगरेशन की आवश्यकता है

मूल README

संबंधित सोर्स रिपॉज़िटरी के मूल README का स्नैपशॉट। नवीनतम सामग्री के लिए रिपॉज़िटरी देखें।

pub package

A natural way of printing text styles and colors in flutter/dart.

This packages contains a set of configurations that make it easy to differentiate console outputs and print all sort of colors. It's multi-IDE compatible as it is based on the basic ANSI escape codes. Note that there might be parameters and features that your IDE doesn't support. You will notice this simply that no effect is applied to you text.

Features

Usage

import 'package:rich_console/rich_console.dart';

void main(){
  
  // * Reusable styles
  final yourReusableStyle = RichStyle(italic: true, foreground: Colors.pinkAccent);
  printRich("Your Text", style: yourReusableStyle);
  printRich("Another Text", style: yourReusableStyle.copyWith(framed: true));
  
  // * Simple prints
  printRich("Background", background: Colors.green);
  printRich("Foreground", foreground: Colors.blue);
  printRich("Italic", italic: true);
  printRich("Bold", bold: true);
  printRich("Underline", underline: true);
  printRich("Invert",
      foreground: Colors.blue, background: Colors.green, invert: true);
  printRich("Strike", strike: true);
  printRich("DoubleUnderline", doubleUnderline: true);
  printRich("Framed", framed: true);
  printRich("Encircled", encircled: true);
}

Additional Information

Functions
  • printRich()

  • printError()

  • printWarning()

Settable Parameters
  • Foreground
  • Background
  • Bold
  • Italic
  • Bold
  • Underline
  • SlowBlink
  • RapidBlink
  • Invert
  • Conceal
  • Strike
  • Gothic
  • DoubleUnderline
  • Framed
  • Encircled
  • Overlined
  • UnderlineColor

Contributions

Please feel welcome add anything that is missing. Simply create a pull request. Especially, ff you are familiar with obtaining text input from the console please make sure to add such features to this package.

श्रेणियाँ

निर्भरताएँ

निर्भरता सूची 1 आइटम

सोर्स रिपॉज़िटरी

इस पैकेज का उपयोग करने वाले प्रोजेक्ट