You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
528 B
Dart
28 lines
528 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class DividerWithSpacesAround extends StatelessWidget {
|
|
DividerWithSpacesAround({
|
|
Key key, this.height = 0,
|
|
});
|
|
final double height ;
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Column(
|
|
children: [
|
|
SizedBox(
|
|
height: height,
|
|
),
|
|
Container(
|
|
width: double.infinity,
|
|
height: 1,
|
|
color: Color(0xffCCCCCC),
|
|
),
|
|
SizedBox(
|
|
height: height,
|
|
),
|
|
],
|
|
);
|
|
}
|
|
}
|