v0.0.3numpad_layout
संख्यात्मक कीबोर्ड के लिए एक नया Flutter पैकेज, जिसमें लचीली कस्टमाइज़ेशन और अरबी अंक समर्थन और बहुत कुछ है।
24लाइक 34930-दिन डाउनलोड160Pub अंक
AndroidiOSWebmacOSWindowsLinux
संख्यात्मक कीबोर्ड के लिए एक नया Flutter पैकेज।
यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
an numeric Keyboard Layout supports english and arabic digits
| Parameter | Default | Description |
|---|---|---|
| onType | required | Callback when number pressed . |
| mainAxisAlignment | MainAxisAlignment.spaceBetween | for spacing horizontal . |
| padding | horizontal = 30 | padding over the whole layout . |
| leftWidget | null | the widget at the left of the 0 . |
| rightWidget | null | the widget at the right of the 0 . |
| highlightColor | Color(0xFFC9C9C9) | on Holding press any number. |
| runSpace | 40 | spacing vertical . |
| numberStyle | null | custom number style |
| radius | 45 | radius for the shape of the number . |
| arabicDigits | false | Displays arabic digits if equal true |
| returnItAsEnglish | false | it returns the digits as english even it's arabic digits . |
NumPad(
arabicDigits: true,
onType: (value) {
number += value;
setState(() {});
},
rightWidget: IconButton(
icon: const Icon(Icons.backspace),
onPressed: () {
if (number.isNotEmpty) {
number = number.substring(0, number.length - 1);
setState(() {});
}
},
),
);
also you can find The sample code under the example package.
निर्भरता सूची 3 आइटम
{"sdk":"flutter"}{"sdk":"flutter"}^2.0.1उपयोग के अनुसार छाँटें, गतिविधि की तुलना करें और अपनाने से पहले मूल प्रोजेक्ट की आवश्यकताएँ जाँचें।
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗