mirror of
https://github.com/zjs81/meshcore-open.git
synced 2026-04-20 22:13:48 +00:00
22 lines
595 B
Dart
22 lines
595 B
Dart
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);
|
|
}
|
|
}
|