import 'package:flutter/material.dart';
class LoginScreen extends StatelessWidget {
const LoginScreen({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text("Login"),
centerTitle: true,
actions: [
IconButton(
onPressed: () {
print("hello world");
},
icon: const Icon(Icons.access_alarm),
),
IconButton(
onPressed: () {
print("hello world");
},
icon: const Icon(Icons.access_alarm),
),
IconButton(
onPressed: () {
print("hello world");
},
icon: const Icon(Icons.access_alarm),
),
IconButton(
onPressed: () {
print("hello world");
},
icon: const Icon(Icons.access_alarm),
),
],
),
body: Center(
child: Container(
height: 400,
width: 400,
decoration: BoxDecoration(
color: Colors.black,
border: Border.all(
color: Colors.black,
width: 100,
style: BorderStyle.solid,
),
boxShadow: const [
BoxShadow(
offset: Offset(10, 20),
blurRadius: 20,
color: Colors.blue,
)
],
// borderRadius: BorderRadius.vertical(bottom: Radius.circular(20))
shape: BoxShape.circle,
),
child: const Center(
child: Text(
"Text In Container",
style: TextStyle(
color: Colors.white,
fontSize: 25,
),
),
),
),
),
);
}
}
List<BoxShadow> arr = [
const BoxShadow(
offset: Offset(10, 20),
blurRadius: 20,
color: Colors.blue,
)
];
Comments
Post a Comment