18 lines
384 B
Dart
18 lines
384 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class DividerWidget extends StatelessWidget {
|
|
const DividerWidget({super.key, this.height, this.color});
|
|
|
|
final double? height;
|
|
final Color? color;
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Divider(
|
|
height: height ?? 1,
|
|
thickness: height ?? 1,
|
|
color: color ?? const Color(0xFFEDEDED),
|
|
);
|
|
}
|
|
}
|