sms_otp 0.0.2 copy "sms_otp: ^0.0.2" to clipboard
sms_otp: ^0.0.2 copied to clipboard

A package for sms OTP container that you can modify variables.

The sms_otp package contains a number of useful containers that can help you with building sms/pin code screens for your app. The package contains container for title of pin screen, description text, phone number and pins container.

Features #

Getting started #

class SmsOtp extends StatelessWidget {
  const SmsOtp({Key? key}) : super(key: key);
  
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: const SmsOtp(
          title: "Verification",
          textMargin: 40,
          text: "Enter the code sent to your number", 
          phoneNumberMargin: 40,
          phoneNumber: "+90 123 456 789",
          pinHeight: 68.0, 
          pinWidth: 64.0
        ),
      ),
    );
  }
}
1
likes
0
pub points
19%
popularity

Publisher

unverified uploader

A package for sms OTP container that you can modify variables.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on sms_otp