What do you want to save?
Add Code snippet
New code examples
-
Other 2021-09-01 07:43:02
auto navigate to home screen after otp login flutter
class SignUpView extends StatefulWidget { @override _SignUpViewState createState() => _SignUpViewState(); } class _SignUpViewState extends State<SignUpView> { final formKey = new GlobalKey<FormState>(); String phoneNo, verificati... Add solution -
TypeScript 2021-08-31 13:27:01
flutter fab covers widget on keyboard open
final bool showFab = MediaQuery.of(context).viewInsets.bottom==0.0; //then use Visibility widget to wrap the FAB and set visible attribute to showFab buildAcitonButton(){ return Visibility( visible: _showFab, child: RaisedButton( chi... Add solution -
Python 2021-08-30 14:14:02
stack using array python
class ArrayStack: def __init__(self): self._data = [] def __len(self): return len(self._data) def is_empty(self): return len(self._data) == 0 def push(self, e): self._data.append(e) def pop(self): if self.is_empty(): raise Empty('sta... Add solution -
Python 2021-08-30 02:42:02
thread stop python
# Python program using # traces to kill threads import sys import trace import threading import time class thread_with_trace(threading.Thread): def __init__(self, *args, **keywords): threading.Thread.__init__(self, *args, **keywords) self.kil... Add solution -
Other 2021-08-29 17:25:01
MIPS power function
.data str1: .asciiz "Give integer X from 1 to 20 " str2: .asciiz "Give integer Y from 0 to 5 " errormsg: .asciiz "Out of range.\n" nline: .asciiz "\n" result1: .asciiz " raised to " result2: .asciiz "... Add solution