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.
PatientApp-KKUMC/lib/widgets/data_display/medical/time_line_widget.dart

35 lines
798 B
Dart

import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
class TimeLineWidget extends StatefulWidget {
final bool isUp;
TimeLineWidget({Key key, this.isUp});
_TimeLineWidgetState createState() => _TimeLineWidgetState();
}
class _TimeLineWidgetState extends State<TimeLineWidget> {
@override
Widget build(BuildContext context) {
return Stack(
children: <Widget>[
Container(
width: double.infinity,
height: 150,
color: Colors.grey[400],
child: Center(
child: Divider(
color: Colors.white,
height: 5,
thickness: 5,
),
),
),
if (widget.isUp) Container() else Container(),
Container()
],
);
}
}