import 'package:flutter/material.dart';
import 'screens/viewer_screen.dart';

class ImajViewerApp extends StatelessWidget {
  final List<String> initialFiles;

  const ImajViewerApp({super.key, this.initialFiles = const []});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'imajViewer',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        brightness: Brightness.dark,
        scaffoldBackgroundColor: const Color(0xFF1a1a1a),
        colorScheme: ColorScheme.fromSwatch(
          brightness: Brightness.dark,
        ),
      ),
      home: ViewerScreen(initialFiles: initialFiles),
    );
  }
}
