PosThemeData class

Constructors

PosThemeData({required PosTheme theme, required KdMode mode, required double fontScale, required double tileHeight, required int extraColumns, required double radius, required double radiusTile, required double radiusSmall, required double lineWidth, required double shadowDepth, required PosTileStyle tileStyle, required bool emoji, required bool categoryColors})
const
PosThemeData.fromSettings(PosBusinessSettings business, {PosDeviceSettings? device})
Das Thema aus den Einstellungen. device steuert, was nur dieses Gerät betrifft (Kachelhöhe); ohne es gelten die Vorgaben.
factory

Properties

border → PosColor
Umrandung.
no setter
brand → PosColor
Die Betriebsfarbe, für Handlungen.
no setter
brandPressed → PosColor
Dunklere Marke — Tiefe unter dem Knopf.
no setter
brandSurface → PosColor
Sehr heller Markenton — Hintergrund der geltenden Auswahl.
no setter
categoryColors → bool
final
danger → PosColor
no setter
dangerSurface → PosColor
no setter
divider → PosColor
Trennlinie; leichter als border – außer im Kontrast-Modus, dort sind beide Schwarz.
no setter
emoji → bool
final
extraColumns → int
Wie viele Kachelspalten mehr (oder mit Minus: weniger) als die Vorgabe nebeneinander stehen sollen. Gehört zum Gerät, nicht zum Betrieb: ein Tablet an der Theke und ein Handy im Gastgarten wollen Verschiedenes.
final
fontScale → double
final
ground → PosColor
Der Hintergrund der Seite.
no setter
hashCode → int
The hash code for this object.
no setterinherited
huge → double
Schriftgrößen in dp, bereits mit dem Faktor des Betriebs.
no setter
isLight → bool
Heller Stil? Entscheidet über Statusleiste und Bilder.
no setter
large → double
no setter
lineWidth → double
final
mode → KdMode
final
normal → double
no setter
onBrand → PosColor
Lesbare Textfarbe auf brand.
no setter
radius → double
Karten, Blätter, Dialoge.
final
radiusSmall → double
Kleine Bedienelemente: Auswahl, Steuersatz, Schnellbetrag.
final
radiusTile → double
Knöpfe, Felder, Kästchen, Kacheln.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shadowDepth → double
0 = keine Schatten (Kontraststil), 1 = volle Tiefe.
final
small → double
no setter
success → PosColor
no setter
successSurface → PosColor
no setter
surface → PosColor
Karten, Panels, alles, was auf dem Grund liegt.
no setter
surfaceRaised → PosColor
Hervorgehobene Fläche: Kopfzeile, aktives Eingabefeld.
no setter
text → PosColor
no setter
textMuted → PosColor
Nebentext — leiser, aber nie unlesbar.
no setter
theme → PosTheme
final
tileHeight → double
final
tileStyle → PosTileStyle
final
title → double
no setter
warning → PosColor
no setter
warningSurface → PosColor
no setter

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