freeLineTheme static method
freeLine theme
Implementation
static SmartSyntaxWidgetTheme freeLineTheme() {
const black = TextStyle(
color: Colors.black,
);
const blackNBold = TextStyle(color: Colors.black, fontWeight: FontWeight.bold);
const comment = TextStyle(
color: Color.fromRGBO(128, 119, 118, 1),
fontStyle: FontStyle.italic,
);
return const SmartSyntaxWidgetTheme(
classStyle: black,
staticStyle: black,
constructor: black,
multilineComment: comment,
comment: comment,
keyword: blackNBold,
identifier: black,
function: black,
number: TextStyle(
color: Color.fromRGBO(99, 196, 178, 1),
),
string: TextStyle(
color: Color.fromRGBO(194, 34, 36, 1),
),
operator: black,
separator: black,
method: black,
private: black,
lineNumber: TextStyle(color: Colors.black),
fontFeatures: [FontFeature.slashedZero()]);
}