githubWebTheme static method
dynamic
githubWebTheme()
theme like github web
Implementation
static githubWebTheme() => const AnySyntaxHighlighterTheme(
classStyle: TextStyle(
color: Color.fromRGBO(113, 176, 251, 1),
),
staticStyle: TextStyle(
color: Color.fromRGBO(255, 255, 255, 0),
),
constructor: TextStyle(
color: Color.fromRGBO(113, 176, 251, 1),
),
multilineComment: TextStyle(
color: Color.fromRGBO(187, 174, 170, 1),
),
comment: TextStyle(
color: Color.fromRGBO(187, 174, 170, 1),
),
keyword: TextStyle(
color: Color.fromRGBO(251, 114, 116, 0.807843137254902),
fontWeight: FontWeight.bold,
),
identifier: TextStyle(
color: Color.fromRGBO(255, 255, 255, 1),
),
function: TextStyle(
color: Color.fromRGBO(200, 132, 251, 1),
),
number: TextStyle(
color: Color.fromRGBO(113, 176, 251, 1),
),
string: TextStyle(
color: Color.fromRGBO(113, 176, 251, 1),
),
operator: TextStyle(
color: Color.fromRGBO(251, 114, 116, 0.807843137254902),
fontWeight: FontWeight.bold,
),
separator: TextStyle(
color: Color.fromRGBO(255, 255, 255, 1),
),
method: TextStyle(
color: Color.fromRGBO(200, 132, 251, 1),
),
private: TextStyle(
color: Color.fromRGBO(255, 255, 255, 0),
),
decoration: BoxDecoration(color: Color.fromRGBO(30, 28, 28, 1)),
fontFeatures: [FontFeature.slashedZero()]);