mirror of
https://github.com/ente-io/ente.git
synced 2025-06-02 15:29:53 +00:00
24 lines
509 B
Dart
24 lines
509 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class DividerWithPadding extends StatelessWidget {
|
|
final double left, top, right, bottom, thinckness;
|
|
const DividerWithPadding({
|
|
super.key,
|
|
this.left = 0,
|
|
this.top = 0,
|
|
this.right = 0,
|
|
this.bottom = 0,
|
|
this.thinckness = 0.5,
|
|
});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Padding(
|
|
padding: EdgeInsets.fromLTRB(left, top, right, bottom),
|
|
child: Divider(
|
|
thickness: thinckness,
|
|
),
|
|
);
|
|
}
|
|
}
|