Page MenuHomec4science

membersBar.Dart
No OneTemporary

File Metadata

Created
Fri, Nov 8, 04:20

membersBar.Dart

import 'package:flutter/material.dart';
import 'package:flutter/foundation.dart';
import 'package:student/model/Group.dart';
class MembersBar extends StatefulWidget {
MembersBar({Key key}) : super(key: key);
@override
_MembersBarState createState() => _MembersBarState();
}
class _MembersBarState extends State<MembersBar> {
Widget build(BuildContext context) {
return Container(
height: 50,
width: 700,
decoration: BoxDecoration(border: Border.all(color: Colors.blueAccent)),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: <Widget>[
Icon(Icons.person),
Text(
group.member1name,
style: const TextStyle(
color: Colors.black,
fontSize: 22.0,
fontWeight: FontWeight.w600,
),
),
SizedBox(width: 20),
Icon(Icons.person),
Text(
group.member2name,
style: const TextStyle(
color: Colors.black,
fontSize: 22.0,
fontWeight: FontWeight.w600,
),
),
SizedBox(width: 20),
Icon(Icons.person),
Text(
group.member3name,
style: const TextStyle(
color: Colors.black,
fontSize: 22.0,
fontWeight: FontWeight.w600,
),
),
Text(
'',
style: const TextStyle(
color: Colors.white70,
fontSize: 15.0,
),
),
SizedBox(height: 40),
],
));
}
}

Event Timeline