ashilkn 2 лет назад
Родитель
Сommit
53413c0b14
1 измененных файлов с 27 добавлено и 0 удалено
  1. 27 0
      lib/ui/components/brand_title_widget.dart

+ 27 - 0
lib/ui/components/brand_title_widget.dart

@@ -0,0 +1,27 @@
+import 'package:flutter/material.dart';
+
+enum SizeVarient {
+  small(21),
+  medium(24),
+  large(28);
+
+  final double size;
+  const SizeVarient(this.size);
+}
+
+class BrandTitleWidget extends StatelessWidget {
+  final SizeVarient size;
+  const BrandTitleWidget({required this.size, Key? key}) : super(key: key);
+
+  @override
+  Widget build(BuildContext context) {
+    return Text(
+      "ente",
+      style: TextStyle(
+        fontWeight: FontWeight.bold,
+        fontFamily: 'Montserrat',
+        fontSize: SizeVarient.medium.size,
+      ),
+    );
+  }
+}