mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-22 06:28:39 +02:00
19 lines
408 B
Dart
19 lines
408 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:cake_wallet/palette.dart';
|
|
|
|
class NodeIndicator extends StatelessWidget {
|
|
final color;
|
|
|
|
NodeIndicator({this.color = Palette.red});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Container(
|
|
width: 10.0,
|
|
height: 10.0,
|
|
decoration: BoxDecoration(
|
|
shape: BoxShape.circle,
|
|
color: color),
|
|
);
|
|
}
|
|
} |