25 lines
608 B
Dart
25 lines
608 B
Dart
// Example main.dart showing how to use the inou design system
|
|
// Copy this to your Flutter project's lib/main.dart
|
|
|
|
import 'package:flutter/material.dart';
|
|
import 'inou_theme.dart';
|
|
import 'screens/styleguide_screen.dart';
|
|
|
|
void main() {
|
|
runApp(const InouApp());
|
|
}
|
|
|
|
class InouApp extends StatelessWidget {
|
|
const InouApp({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return MaterialApp(
|
|
title: 'inou',
|
|
debugShowCheckedModeBanner: false,
|
|
theme: InouTheme.light, // ← One line to apply the entire design system
|
|
home: const StyleguideScreen(),
|
|
);
|
|
}
|
|
}
|