code_field 0.1.1+1 copy "code_field: ^0.1.1+1" to clipboard
code_field: ^0.1.1+1 copied to clipboard

discontinued
outdated

Widget providing input code field to insert pin, sms and other auth codes.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:flutter_control/core.dart';

import 'auth_control.dart';
import 'auth_page.dart';

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

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return ControlRoot(
      disableLoader: true,
      initializers: {
        AuthControl: (_) => AuthControl(),
      },
      root: (context, args) => AuthPage(),
      app: (context, key, home) => MaterialApp(
        key: key,
        home: home,
        title: 'Code Field',
        theme: ThemeData(
          backgroundColor: Colors.white,
          primaryColor: Colors.lightBlueAccent,
          primaryColorDark: Colors.blueAccent,
        ),
      ),
    );
  }
}
21
likes
0
pub points
10%
popularity

Publisher

verified publisherbasecontrol.dev

Widget providing input code field to insert pin, sms and other auth codes.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, flutter_control

More

Packages that depend on code_field