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.
cloudsolutions-atoms/lib/views/widgets/app_name_bar.dart

27 lines
651 B
Dart

import 'package:flutter/material.dart';
import '../app_style/colors.dart';
import '../app_style/sizing.dart';
class AppNameBar extends StatelessWidget {
const AppNameBar({super.key});
@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
.titleLarge
?.copyWith(color: AColors.white, fontStyle: FontStyle.italic),
),
),
);
}
}