import 'package:flutter/material.dart'; import 'package:flutter_neumorphic/flutter_neumorphic.dart';
class LoginScreen extends StatefulWidget { const LoginScreen({Key? key}) : super(key: key);
@override State<LoginScreen> createState() => _LoginScreenState(); }
class _LoginScreenState extends State<LoginScreen> { @override Widget build(BuildContext context) { return SafeArea( child: Scaffold( body: Center( child: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ Neumorphic( style: NeumorphicStyle( shape: NeumorphicShape.concave, boxShape: NeumorphicBoxShape.roundRect(BorderRadius.circular(12)), depth: 8, lightSource: LightSource.topLeft, ), child: Container( height: 200, width: 200, child: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ NeumorphicButton( child: Text("Login2"), onPressed: () {}, ), ], ), ), ), ], ), ), ), ); } }
|