mirrored_repositories/Login_Screen_ui
import 'package:flutter/material.dart';

import './constants.dart';
import './screens/welcome.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'LogIn Screen',
      theme: ThemeData(
        brightness: Brightness.light,
        primaryColor: kPrimaryColor,
        scaffoldBackgroundColor: kBackgroundColor,
        textTheme: const TextTheme(
          bodyText1: TextStyle(
              color: kPrimaryColor, fontWeight: FontWeight.bold, fontSize: 26),
          button: TextStyle(color: kPrimaryColor),
          headline6:
              TextStyle(color: Colors.white, fontWeight: FontWeight.normal),
        ),
        inputDecorationTheme: InputDecorationTheme(
          hintStyle: const TextStyle(
            color: Colors.white,
          ),
          focusedBorder: const UnderlineInputBorder(
            borderSide: BorderSide(
              color: kPrimaryColor,
            ),
          ),
          enabledBorder: UnderlineInputBorder(
            borderSide: BorderSide(
              color: Colors.white.withOpacity(0.5),
            ),
          ),
        ),
        textSelectionTheme:
            const TextSelectionThemeData(cursorColor: kPrimaryColor),
      ),
      home: const WelcomeScreen(),
    );
  }
}
