mirror of
https://github.com/zjs81/meshcore-open.git
synced 2026-04-20 22:13:48 +00:00
ran dart format . on libs/icons/los_icon.dart
This commit is contained in:
parent
bd27c90216
commit
1f816f7e08
1 changed files with 4 additions and 11 deletions
|
|
@ -5,25 +5,18 @@ class LosIcon extends StatelessWidget {
|
|||
final double size;
|
||||
final Color? color;
|
||||
|
||||
const LosIcon({
|
||||
super.key,
|
||||
this.size = 24,
|
||||
this.color,
|
||||
});
|
||||
const LosIcon({super.key, this.size = 24, this.color});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final theme = Theme.of(context);
|
||||
final iconTheme = IconTheme.of(context);
|
||||
final iconColor = color ??
|
||||
final iconColor =
|
||||
color ??
|
||||
iconTheme.color ??
|
||||
theme.iconTheme.color ??
|
||||
theme.colorScheme.onSurface;
|
||||
|
||||
return Icon(
|
||||
Symbols.elevation,
|
||||
size: size,
|
||||
color: iconColor,
|
||||
);
|
||||
return Icon(Symbols.elevation, size: size, color: iconColor);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue