ContentTheme constructor
ContentTheme({
- Color background = const Color(0xfffafbfe),
- Color onBackground = const Color(0xffF1F1F2),
- Color primary = const Color(0xff006784),
- Color onPrimary = const Color(0xffffffff),
- Color disabled = const Color(0xffffffff),
- Color onDisabled = const Color(0xffffffff),
- Color secondary = const Color(0xff6c757d),
- Color onSecondary = const Color(0xffffffff),
- Color success = const Color(0xff198754),
- Color onSuccess = const Color(0xffffffff),
- Color danger = const Color(0xffdc3545),
- Color onDanger = const Color(0xffffffff),
- Color warning = const Color(0xffffc107),
- Color onWarning = const Color(0xff313a46),
- Color info = const Color(0xff0dcaf0),
- Color onInfo = const Color(0xffffffff),
- Color light = const Color(0xffeef2f7),
- Color onLight = const Color(0xff313a46),
- Color dark = const Color(0xff313a46),
- Color onDark = const Color(0xffffffff),
- Color cardBackground = const Color(0xffffffff),
- Color cardShadow = const Color(0xffffffff),
- Color cardBorder = const Color(0xffffffff),
- Color cardText = const Color(0xff6c757d),
- Color cardTextMuted = const Color(0xff98a6ad),
- Color title = const Color(0xff6c757d),
Implementation
ContentTheme({
this.background = const Color(0xfffafbfe),
this.onBackground = const Color(0xffF1F1F2),
this.primary = const Color(0xff006784),
this.onPrimary = const Color(0xffffffff),
this.disabled = const Color(0xffffffff),
this.onDisabled = const Color(0xffffffff),
this.secondary = const Color(0xff6c757d),
this.onSecondary = const Color(0xffffffff),
this.success = const Color(0xff198754),
this.onSuccess = const Color(0xffffffff),
this.danger = const Color(0xffdc3545),
this.onDanger = const Color(0xffffffff),
this.warning = const Color(0xffffc107),
this.onWarning = const Color(0xff313a46),
this.info = const Color(0xff0dcaf0),
this.onInfo = const Color(0xffffffff),
this.light = const Color(0xffeef2f7),
this.onLight = const Color(0xff313a46),
this.dark = const Color(0xff313a46),
this.onDark = const Color(0xffffffff),
this.cardBackground = const Color(0xffffffff),
this.cardShadow = const Color(0xffffffff),
this.cardBorder = const Color(0xffffffff),
this.cardText = const Color(0xff6c757d),
this.cardTextMuted = const Color(0xff98a6ad),
this.title = const Color(0xff6c757d),
});