You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
629 B
30 lines
629 B
import 'package:flutter/material.dart';
|
|
import 'package:material_symbols_icons/material_symbols_icons.dart';
|
|
|
|
class LosIcon extends StatelessWidget {
|
|
final double size;
|
|
final Color? 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 ??
|
|
iconTheme.color ??
|
|
theme.iconTheme.color ??
|
|
theme.colorScheme.onSurface;
|
|
|
|
return Icon(
|
|
Symbols.elevation,
|
|
size: size,
|
|
color: iconColor,
|
|
);
|
|
}
|
|
}
|