astronote/lib/widgets/header_sign__in_widget.dart
2020-07-31 17:30:32 +02:00

30 lines
749 B
Dart

import 'package:flutter/material.dart';
class HeaderLogWidget extends StatelessWidget {
final TextStyle style = TextStyle(fontFamily: 'Varela Round', fontSize: 20.0);
@override
Widget build(BuildContext context) {
return Center(
child: Container(
margin: EdgeInsets.only(top: MediaQuery.of(context).size.height * 0.09),
child: Column(
children: <Widget>[_astrolabeLogo(), SizedBox(height: 5.0), _appTitle(context)],
),
),
);
}
Widget _astrolabeLogo() {
return Image.asset(
"assets/astrolabe_logo.jpg",
);
}
Widget _appTitle(BuildContext context) {
return Text("AstroNotes",
style:
style.copyWith(color: Colors.black, fontSize: 40));
}
}