feat: home view, portfolio view, invest type view
This commit is contained in:
24
lib/application/component/text_title/text_title.dart
Normal file
24
lib/application/component/text_title/text_title.dart
Normal file
@@ -0,0 +1,24 @@
|
||||
import 'package:cims_apps/application/theme/color_palette.dart';
|
||||
import 'package:flutter/cupertino.dart';
|
||||
|
||||
class TextTitle extends StatelessWidget {
|
||||
final String title;
|
||||
final Color color;
|
||||
const TextTitle({
|
||||
Key? key,
|
||||
required this.title,
|
||||
required this.color,
|
||||
}) : super(key: key);
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Text(
|
||||
title,
|
||||
style: TextStyle(
|
||||
fontSize: 20,
|
||||
fontWeight: FontWeight.w700,
|
||||
color: color,
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user