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.
23 lines
645 B
Dart
23 lines
645 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:test_sa/views/app_style/colors.dart';
|
|
import 'package:test_sa/views/app_style/sizing.dart';
|
|
class AppNameBar extends StatelessWidget {
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Container(
|
|
height: 50 * AppStyle.getScaleFactor(context),
|
|
color:AColors.primaryColor,
|
|
padding: const EdgeInsets.all(8.0),
|
|
child: Center(
|
|
child: Text(
|
|
"Test SA",
|
|
style: Theme.of(context).textTheme.headline6.copyWith(
|
|
color: AColors.white,
|
|
fontStyle: FontStyle.italic
|
|
),
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|