awesome_otp_screen 0.0.2
awesome_otp_screen: ^0.0.2 copied to clipboard
Flutter Package For Prebuilt OTP Screen.
This Package is for Prebuilt Awesome OTP Verification Screen with Custom Keyboard
Features #
Getting started #
SDK: >=2.18.2 <3.0.0 Flutter: >=1.17.0
Usage #
Short and useful examples for package users. Add longer examples
to /example
folder.
AwesomeOtpScreen.withGradientBackground(
topColor: Colors.green.shade200,
bottomColor: Colors.greenAccent.shade700,
otpLength: 4,
validateOtp: validateOtp,
routeCallback: moveToNextScreen,
themeColor: Colors.white,
titleColor: Colors.white,
title: "Phone Number Verification",
subTitle: "Enter the code sent to \n +880170020020",
icon: Image.asset(
'assets/images/phone_logo.png',
fit: BoxFit.fill,
),
),