tecta_ui 0.0.4
tecta_ui: ^0.0.4 copied to clipboard
A premium, clean, and highly customizable UI component design system for Flutter, featuring beautiful colors, smooth typography, and refined feedback elements.
example/lib/main.dart
import 'package:flutter/material.dart';
import 'package:tecta_ui/tecta_ui.dart';
import 'screens/home_screen.dart';
void main() {
runApp(const TectaShowcaseApp());
}
/// Global notifier to manage theme mode state in the showcase application.
final ValueNotifier<ThemeMode> themeNotifier = ValueNotifier<ThemeMode>(ThemeMode.light);
class TectaShowcaseApp extends StatelessWidget {
const TectaShowcaseApp({super.key});
@override
Widget build(BuildContext context) {
return ValueListenableBuilder<ThemeMode>(
valueListenable: themeNotifier,
builder: (context, currentMode, child) {
return MaterialApp(
title: 'Tecta UI',
debugShowCheckedModeBanner: false,
theme: TectaTheme.lightTheme,
darkTheme: TectaTheme.darkTheme,
themeMode: currentMode,
home: const ShowcaseHomeScreen(),
);
},
);
}
}