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.
doctor_app_flutter/lib/widgets/auth/auth_header.dart

65 lines
1.7 KiB
Dart

import 'package:flutter/material.dart';
class AuthHeader extends StatelessWidget {
const AuthHeader({
Key key,
}) : super(key: key);
@override
Widget build(BuildContext context) {
return Container(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
Container(
margin:
EdgeInsetsDirectional.fromSTEB(0, 50, 0, 0),
child: Image.asset(
'assets/images/login_icon.png',
fit: BoxFit.cover,
),
),
SizedBox(
height: 10,
),
Text(
"LOGIN",
style: TextStyle(
fontSize: 30, fontWeight: FontWeight.w800),
)
],
),
Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
SizedBox(
height: 10,
),
Text(
"Welcome to",
style: TextStyle(fontSize: 24),
),
Text(
'Dr Sulaiman Al Habib',
style: TextStyle(
fontSize: 24,
color: Theme.of(context).primaryColor,
),
),
Text(
"Doctor App",
style: TextStyle(
fontSize: 26,
color: Theme.of(context).primaryColor),
)
],
)
],
),
);
}
}