Data Table Text Styles
@Immutable
Text styles used throughout the DataTable.
Defaults are plain styles at typical sizes - no Material typography required.
Each style carries its own color, which is what makes these the other half of a custom palette alongside DataTableColors.
Constructors
Link copied to clipboard
constructor(headerCell: TextStyle = TextStyle(
fontSize = 14.sp,
fontWeight = FontWeight.Bold,
color = Color(0xFF1C1C1C),
), bodyCell: TextStyle = TextStyle(
fontSize = 14.sp,
fontWeight = FontWeight.Normal,
color = Color(0xFF1C1C1C),
), footer: TextStyle = TextStyle(
fontSize = 12.sp,
fontWeight = FontWeight.Normal,
color = Color(0xFF1C1C1C),
), loading: TextStyle = TextStyle(
fontSize = 14.sp,
fontWeight = FontWeight.Normal,
color = Color(0xFF1C1C1C),
), noData: TextStyle = TextStyle(
fontSize = 16.sp,
fontWeight = FontWeight.Normal,
color = Color(0x991C1C1C),
), pagination: TextStyle = TextStyle(
fontSize = 14.sp,
fontWeight = FontWeight.Normal,
color = Color(0xFF1C1C1C),
))