Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

flutter flutter logo pass-code

a flutter widget for entering a pass-code.

flutter enter pass-code widget

this widget allows you to customize the number of characters, background and border colors, and obscure text.

flutter enter pass-code widget

example

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

void main() => runapp(myapp());

class myapp extends statelesswidget {
  @override
  widget build(buildcontext context) {
    return materialapp(
      home: scaffold(
        appbar: appbar(),
        body: center(
          child: column(
            mainaxisalignment: mainaxisalignment.center,
            children: <widget>[
              passcodetextfield(
                ontextchanged: (passcode) {
                  print(passcode);
                },
                totalcharacters: 4,
                bordercolor: colors.black,
                passcodetype: passcodetype.number,
              ),
            ],
          ),
        ),
      ),
    );
  }
}

download the full project for this post from the following button

this source is fully free for all time

download as zip


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

Comments are closed.