useTextStyle method
void
useTextStyle({
- NikuTextStyle base()?,
- NikuTextStyle disabled()?,
- NikuTextStyle dragged()?,
- NikuTextStyle error()?,
- NikuTextStyle focused()?,
- NikuTextStyle hovered()?,
- NikuTextStyle pressed()?,
- NikuTextStyle scrolledUnder()?,
- NikuTextStyle selected()?,
Implementation
void useTextStyle({
NikuTextStyle Function(NikuTextStyle)? base,
NikuTextStyle Function(NikuTextStyle)? disabled,
NikuTextStyle Function(NikuTextStyle)? dragged,
NikuTextStyle Function(NikuTextStyle)? error,
NikuTextStyle Function(NikuTextStyle)? focused,
NikuTextStyle Function(NikuTextStyle)? hovered,
NikuTextStyle Function(NikuTextStyle)? pressed,
NikuTextStyle Function(NikuTextStyle)? scrolledUnder,
NikuTextStyle Function(NikuTextStyle)? selected,
}) =>
_style.useTextStyle(
disabled: disabled,
dragged: dragged,
error: error,
focused: focused,
hovered: hovered,
pressed: pressed,
scrolledUnder: scrolledUnder,
selected: selected,
base: base,
);