You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
753 B
32 lines
753 B
3 years ago
|
import 'package:flutter/material.dart';
|
||
|
import 'package:teso/util/consts.dart';
|
||
|
|
||
|
builddescription(BuildContext context, String title, String details) {
|
||
|
return Container(
|
||
|
margin: EdgeInsets.all(10),
|
||
|
padding: EdgeInsets.all(10),
|
||
|
child: Column(
|
||
|
children: <Widget>[
|
||
|
Container(
|
||
|
child: Align(
|
||
|
alignment: Alignment.topLeft,
|
||
|
child: Text(
|
||
|
title,
|
||
|
style: TextStyle(fontWeight: FontWeight.bold, fontSize: 18),
|
||
|
),
|
||
|
),
|
||
|
),
|
||
|
Container(
|
||
|
child: Align(
|
||
|
alignment: Alignment.bottomLeft,
|
||
|
child: Text(details),
|
||
|
),
|
||
|
),
|
||
|
Divider(
|
||
|
color: accentMain,
|
||
|
),
|
||
|
],
|
||
|
),
|
||
|
);
|
||
|
}
|