mm_nrc_kit 1.0.3

SDKflutter
Platformandroidioswindowslinuxmacosweb

Myanmar NRC UI Kit

Myanmar NRC Picker UI Kit for Flutter

pub package

This package is for Myanmar NRC Picker and Number Keyboard.


Usage

  1. To use this plugin, add mm_nrc_kit as a dependency in your pubspec.yaml file.

  2. Import mm_nrc_kit

import 'package:mm_nrc_kit/mm_nrc_kit.dart';
  1. Example
NRCField(
  onCompleted: (value) {
    debugPrint("onCompleted : $value");
  },
  onChanged: (value) {
    debugPrint("onChanged : $value");
  },
)
NRCField(
  language: NrcLanguage.myanmar,
  onCompleted: (value) {
    debugPrint("onCompleted : $value");
  },
  onChanged: (value) {
    debugPrint("onChanged : $value");
  },
)
NRCField(
  language: NrcLanguage.english,
  onCompleted: (value) {
    debugPrint("onCompleted : $value");
  },
  onChanged: (value) {
    debugPrint("onChanged : $value");
  },
)
NRCField(
  language: NrcLanguage.english,
  nrcValue: "8/MAKANA(N)123456",
  leadingTitleFontSize: 14,
  trailingTitleFontSize: 14,
  leadingTitleColor: Colors.black,
  backgroundColor: Colors.white,
  pickerItemColor: Colors.black,
  borderColor: Colors.white,
  borderRadius: 10,
  borderWidth: 0.4,
  contentPadding:
      const EdgeInsets.symmetric(horizontal: 16, vertical: 0),
  onCompleted: (value) {
    debugPrint("onCompleted : $value");
  },
  onChanged: (value) {
    debugPrint("onChanged : $value");
  },
)
NRCField(
  language: NrcLanguage.myanmar,
  nrcValue: "၈/မကန(နိုင်)၁၂၃၄၅၆",
  leadingTitleFontSize: 14,
  trailingTitleFontSize: 14,
  leadingTitleColor: Colors.black,
  backgroundColor: Colors.white,
  pickerItemColor: Colors.black,
  borderColor: Colors.white,
  borderRadius: 10,
  borderWidth: 0.4,
  contentPadding:
      const EdgeInsets.symmetric(horizontal: 16, vertical: 0),
  onCompleted: (value) {
    debugPrint("onCompleted : $value");
  },
  onChanged: (value) {
    debugPrint("onChanged : $value");
  },
)

Conslusion

  • Credit : NRC Data and Util to mm_nrc package
  • UI/UX inspired by SwiftUI flow

Happy coding Peace✌️