mirrored_repositories/Flutter-Login-UI/lib/src

import 'package:flutter/material.dart';
import 'package:flutter_signin_signup/src/Widget/signup_clipper.dart';

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

  Widget build(BuildContext context) {
    return Stack(
      children: [
        ClipPath(
          clipper: WaveClipperTwo(),
          child: Container(
            height: MediaQuery.of(context).size.height * 1,
            width: MediaQuery.of(context).size.width * 1,
            decoration: BoxDecoration(
              color: Color.fromRGBO(104, 203, 240, 1),
            ),
          ),
        ),
        ClipPath(
          clipper: WaveClipperOne(),
          child: Container(
            height: MediaQuery.of(context).size.height * .55,
            width: MediaQuery.of(context).size.width * 1,
            decoration: BoxDecoration(
              color: Color.fromRGBO(80, 86, 96, 1),
            ),
            child: Padding(
              padding: EdgeInsets.symmetric(vertical: 150, horizontal: 20),
              child: Text('Create \nAccount!',
                  textAlign: TextAlign.left,
                  overflow: TextOverflow.ellipsis,
                  style: TextStyle(
                    color: Colors.white,
                    fontSize: 35,
                    fontWeight: FontWeight.w400,
                    // height: 5.5
                  )),
            ),
          ),
        ),
      ],
    );
  }
}
