si_print 0.0.8

SDKflutter
Platformandroidioswindowslinuxmacosweb

This is a printed package, You can print with different text colors, Can print with different background colors.

SIPrint

This is a class package for Flutter print.

Display

iOSAndroidwebMacOS

Getting Started

use class

final SIPrint samplePrint = SIPrint(
	user: "Sample",
	siUserEmoji: SIUserEmoji.user,
	siFontColor: SIFontColor.yellow,
	siFontBgColor: SIFontBgColor.white,
);
samplePrint.showPrint("Demo SIPrint");
samplePrint.showPrint("Demo SIPrint", tag: "api");

use directly

SIPrint.black("Demo SIPrint", user: "Hope");
SIPrint.red("Demo SIPrint", user: "Hope", tag: "Cat");
SIPrint.green("Demo SIPrint", user: "Hope", emoji: SIUserEmoji.dragon);
SIPrint.yellow(
  "Demo SIPrint",
  user: "Hope",
  tag: "Cat",
  emoji: SIUserEmoji.dragon,
);
SIPrint.blue("Demo SIPrint", tag: "Pig");
SIPrint.magenta("Demo SIPrint", tag: "Pig", emoji: SIUserEmoji.pig);
SIPrint.cyan("Demo SIPrint");
SIPrint.white("Demo SIPrint");
SIPrint.blackBg("Demo SIPrint");
SIPrint.redBg("Demo SIPrint");
SIPrint.greenBg("Demo SIPrint");
SIPrint.yellowBg("Demo SIPrint");
SIPrint.blueBg("Demo SIPrint");
SIPrint.magentaBg("Demo SIPrint");
SIPrint.cyanBg("Demo SIPrint");
SIPrint.whiteBg("Demo SIPrint");

Property description

parameter nametypedescription
userStringuser name
tagStringtag name
enableboolset enable or disable
siUserEmojiSIUserEmojihead emoji
siFontColorSIFontColorfont color
siFontBgColorSIFontBgColor?font background color

emoji list

ParametersCategories
user👤
mouse🐭
rabbit🐰
dragon🐲
pig🐷
tiger🐯
koala🐨
panda🐼
monkey🐵
lion🦁
poop💩