signSheet method

dynamic signSheet()

Implementation

signSheet() {
  return Container(
    padding: const EdgeInsets.all(20),
    child: Column(
      mainAxisSize: MainAxisSize.min,
      mainAxisAlignment: MainAxisAlignment.spaceBetween,
      children: [
        Column(
          children: [
            AppTextField(
              controller: _userTextEditingController,
              labelText: "Your Name",
            ),
            const SizedBox(height: 10),
            // AppTextField(
            //   controller: _passwordTextEditingController,
            //   labelText: "Password",
            //   isPassword: true,
            // ),
            // SizedBox(height: 10),
            const Divider(),
            const SizedBox(height: 10),
            AppButton(
              text: 'Submit',
              onPressed: () async {
                await _signUp(context);
                },
              icon: const Icon(
                Icons.person_add,
                color: Colors.white,
              ),
            )
          ],
        ),
      ],
    ),
  );
}