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

outdated

A new flutter plugin project.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:verification_code_custom/verification_code_custom.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  String _platformVersion = 'Unknown';

  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Verification_code_custom'),
        ),
        body: Center(
          child: Padding(
            padding: const EdgeInsets.all(28.0),
            child: VerificationCodeCustom(textChanged: (list) {
              print(list);
              String result = '';
              for(String str in list){
                result += str;
              }
            },),
          ),
        ),
      ),
    );
  }
}
3
likes
0
points
63
downloads

Publisher

verified publisherlibin.zone

Weekly Downloads

A new flutter plugin project.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on verification_code_custom