This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class CustomAmountKeyboard extends StatefulWidget { | |
| const CustomAmountKeyboard({Key? key}) : super(key: key); | |
| @override | |
| State<CustomAmountKeyboard> createState() => _CustomAmountKeyboardState(); | |
| } | |
| class _CustomAmountKeyboardState extends State<CustomAmountKeyboard> { | |
| late final FocusNode focusNode; | |
| late final TextEditingController controller; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Below are the Big O performance of common functions of different Java Collections. | |
| List | Add | Remove | Get | Contains | Next | Data Structure | |
| ---------------------|------|--------|------|----------|------|--------------- | |
| ArrayList | O(1) | O(n) | O(1) | O(n) | O(1) | Array | |
| LinkedList | O(1) | O(1) | O(n) | O(n) | O(1) | Linked List | |
| CopyOnWriteArrayList | O(n) | O(n) | O(1) | O(n) | O(1) | Array | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "9 payment service Bank": "120001", | |
| "AB MICROFINANCE BANK": "090270", | |
| "ABBEY MORTGAGE BANK": "070010", | |
| "ABOVE ONLY MICROFINANCE BANK": "090260", | |
| "ABU MICROFINANCE BANK": "090197", | |
| "ACCESS BANK": "000014", | |
| "ACCESSMONEY": "100013", | |
| "ACCION MFB": "090134", | |
| "ADDOSSER MFBB": "090160", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import UIKit | |
| import SwiftUI | |
| import Flutter | |
| typealias FlutterResult = (Result<String, Error>) -> Void | |
| @UIApplicationMain | |
| @objc class AppDelegate: FlutterAppDelegate, NativeMobileHostApi { | |
| private var navigationController: DelegateViewController? = nil | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/services.dart'; | |
| import 'package:local_auth/error_codes.dart' as auth_error; | |
| import 'package:local_auth/local_auth.dart' as local_auth; | |
| class BiometricsService implements BiometricsInterface { | |
| const BiometricsService(); | |
| static final _auth = local_auth.LocalAuthentication(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/material.dart'; | |
| import 'dart:math'; | |
| class CountdownOTPWidget extends StatefulWidget { | |
| const CountdownOTPWidget({ | |
| super.key, | |
| required this.countDownDurationInMinutes, | |
| this.children = const [], | |
| this.progressColor, | |
| this.progressBackgroundColor, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /// Example Usage | |
| class MyWidget extends StatefulWidget { | |
| const MyWidget({super.key}); | |
| @override | |
| State<MyWidget> createState() => _MyWidgetState(); | |
| } | |
| class _MyWidgetState extends State<MyWidget> { | |
| double _progress = 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/material.dart'; | |
| /// Widget which determines users inactivity by listening for touch actions, best used at the root(MaterialApp) | |
| /// of your project. | |
| /// Inactivity duration is the duration to listen for | |
| /// onNoActiveInteraction is callback to perform action when the app hasn't been interacted with | |
| /// for [inactivityDuration]. | |
| class InteractionInactivityWidget extends StatefulWidget { | |
| const InteractionInactivityWidget({ | |
| super.key, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/material.dart'; | |
| import 'package:notification_poc/toast_notification.dart'; | |
| void main() { | |
| runApp(const MyApp()); | |
| } | |
| class MyApp extends StatefulWidget { | |
| const MyApp({super.key}); |