steelseries_flutter library

Classes

AltimeterGauge
Creates a AltimeterGauge.
BatteryGauge
Creates a BatteryGauge.
ClockGauge
Creates a ClockGauge.
ClockParameters
ColorDef
CompassGauge
Creates a CompassGauge.
CompassInit
GradientWrapper
HorizonGauge
Creates a HorizonGauge.
LEDWidget
Creates a LEDWidget.
LevelGauge
Creates a LevelGauge.
LightBulbWidget
Creates a LightBulbWidget.
LinearBargraphGauge
Creates a LinearBargraphGauge.
LinearGauge
Creates a LinearGauge.
OdometerGauge
Creates a OdometerGauge.
OdometerParameters
Parameters
RadialBargraphGauge
Creates a RadialBargraphGauge.
RadialGauge
Creates a RadialGauge.
RadialVerticalGauge
Creates a RadialVerticalGauge.
Section
SectionRange
SingleLCDGauge
Creates a SingleLCDGauge.
StopwatchGauge
Creates a StopWatchGauge.
TrafficLightWidget
Creates a TrafficLightWidget.
WindDirectionGauge
Creates a WindDirectionGauge.

Constants

DEG_FACTOR → const double
HALF_PI → const double
PI → const double
RAD_FACTOR → const double
TWO_PI → const double

Properties

backgroundCache Map<String, Picture>
getter/setter pair
drawFrameCache Map<String, Picture>
getter/setter pair
foregroundCache Map<String, Picture>
getter/setter pair
knobImageCache Map<String, Picture>
getter/setter pair
lcdBackgroundImageCache Map<String, Picture>
getter/setter pair
ledCache Map<String, Picture>
getter/setter pair
linearBackgroundImageCache Map<String, Picture>
getter/setter pair
linearForegroundImageCache Map<String, Picture>
getter/setter pair
linearFrameImageCache Map<String, Picture>
getter/setter pair
measuredValueImageCache Map<String, Picture>
getter/setter pair
pointerImageCache Map<String, Picture>
getter/setter pair
trendIndicatorCache Map<String, Picture>
getter/setter pair

Functions

calcNiceNumber(double range, bool round) double
carbonBuffer() Image?
carbonBufferInit({double width = 12.0, double height = 12.0}) Future<Image>
colorFromHex(String hexRGB, {double opacity = 1.0}) Color
createKnobImage(double size, KnobTypeEnum knob, KnobStyleEnum style) Picture
createLcdBackgroundImage(double width, double height, LcdColorEnum lcdColor) Picture
createLedImage(double size, int state, LedColorEnum ledColor) Picture
createMeasuredValueImage(double size, Color indicatorColor, bool radial, bool vertical) Picture
createTrendIndicator(double width, TrendStateEnum onSection, List<LedColorEnum> colors) Picture
customColorDef(Color color) ColorDef
darker(Color color, double fraction) Color
drawAltimeter(Canvas canvas, Size canvasSize, Parameters parameters) → void
drawBackground(BackgroundColorEnum backgroundColor, double centerX, double centerY, double imageWidth, double imageHeight) Picture
drawBattery(Canvas canvas, Size size, Parameters parameters) → void
drawClock(Canvas canvas, Size canvasSize, Parameters parameters) → void
drawCompass(Canvas canvas, Size canvasSize, Parameters parameters) → void
drawDisplaySingle(Canvas canvas, Size canvasSize, Parameters parameters) → void
drawForeground(ForegroundTypeEnum foregroundType, double imageWidth, double imageHeight, bool withCenterKnob, KnobTypeEnum knob, KnobStyleEnum style, GaugeTypeEnum gaugeType, OrientationEnum orientation) Picture
drawFrame(FrameDesignEnum frameDesign, double centerX, double centerY, double imageWidth, double imageHeight) Picture
drawHorizon(Canvas canvas, Size canvasSize, Parameters parameters) → void
drawLed(Canvas canvas, Size size, int state, Parameters parameters) → void
drawLevel(Canvas canvas, Size canvasSize, Parameters parameters) → void
drawLightbulb(Canvas canvas, Size canvasSize, Parameters parameters) → void
drawLinear(Canvas canvas, Size canvasSize, Parameters parameters) → void
drawLinearBackgroundImage(BackgroundColorEnum backgroundColor, double imageWidth, double imageHeight, bool vertical) Picture
drawLinearBargraph(Canvas canvas, Size canvasSize, Parameters parameters) → void
drawLinearForegroundImage(double imageWidth, double imageHeight, bool vertical) Picture
drawLinearFrameImage(FrameDesignEnum frameDesign, double imageWidth, double imageHeight, bool vertical) Picture
drawOdometer(Canvas canvas, OdometerParameters parameters) → void
drawPointerImage(double size, PointerTypeEnum ptrType, ColorDef ptrColor, Color lblColor) Picture
drawRadial(Canvas canvas, Size canvasSize, Parameters parameters) → void
drawRadialBargraph(Canvas canvas, Size canvasSize, Parameters parameters) → void
drawRadialCustomImage(Canvas ctx, Image? img, double centerX, double centerY, double imageWidth, double imageHeight) → void
drawRadialVertical(Canvas canvas, Size canvasSize, Parameters parameters) → void
drawRoseImage(Canvas ctx, double centerX, double centerY, double imageWidth, double imageHeight, BackgroundColorEnum backgroundColor) → void
drawStopwatch(Canvas canvas, Size canvasSize, Parameters parameters) → void
drawTitleImage(Canvas ctx, double imageWidth, double imageHeight, String titleString, String unitString, BackgroundColorEnum backgroundColor, bool vertical, bool radial, bool altPos, GaugeTypeEnum? gaugeTypeVal) → void
drawTrafficlight(Canvas canvas, Size canvasSize, Parameters parameters) → void
drawWindDirection(Canvas canvas, Size canvasSize, Parameters parameters) → void
getColorFromFraction(Color sourceColor, Color destinationColor, double range, double fraction, bool returnRawData) Color
getColorFromFractionRaw(Color sourceColor, Color destinationColor, double range, double fraction, bool returnRawData) List<double>
getFont(double fontHeight, Color color, {FontTypeEnum fontType = FontTypeEnum.RobotoMono, FontWeight? fontWeight}) TextStyle
getShortestAngle(double from, double to) double
hatchBuffer() Image?
hatchBufferInit({double width = 2.0, double height = 2.0}) Future<Image>
hsbToRgb(double hue, double saturation, double brightness) List<int>
initBuffers() Future<bool>
lighter(Color color, double fraction) Color
log10(double value) double
odometerWidth(double height, int digits, int decimals) double
punchedSheetBuffer() Image?
punchedSheetBufferInit({double width = 15.0, double height = 15.0}) Future<Image>
range(int value, int limit) int
rangeDouble(double value, double limit) double
rgbToHsb(double r, double g, double b) List<double>
rgbToHsl(double red, double green, double blue) List<double>
roundedRectangle(double x, double y, double w, double h, double radius) Path
wrap(double value, double lower, double upper) double