What do you want to save?
Add Code snippet
New code examples
-
Swift 2022-03-19 12:45:01
swift uitextfield only numbers keyboard lock programmatically
class ViewController: UIViewController, UITextFieldDelegate { @IBOutlet weak var textField: UITextField! override func viewDidLoad() { super.viewDidLoad() // you can set the following two properties for the text field in Interfa... Add solution -
Other 2022-03-17 19:20:05
showModalBottomSheet keyboard issue
showModalBottomSheet( shape: RoundedRectangleBorder( borderRadius: BorderRadius.vertical(top: Radius.circular(25.0))), backgroundColor: Colors.black, context: context, isScrollControlled: true, builder: (context) => Padding... Add solution -
Other 2022-03-13 05:05:08
javafx textfield only numbers
// force the field to be numeric only textField.textProperty().addListener(new ChangeListener<String>() { @Override public void changed(ObservableValue<? extends String> observable, String oldValue, String newValue) { ... Add solution -
Dart 2022-03-03 02:10:01
Flutter make widget based on dio
import 'dart:async'; import 'dart:convert'; import 'package:flutter/material.dart'; import 'package:http/http.dart' as http; Future<Album> fetchAlbum() async { final response = await http.get('https://jsonplaceholder.typicode.com/albums/1'... Add solution -
Javascript 2022-03-02 21:40:01
react native google places autocomplete
function initialize() { var options = { types: ['(cities)'], componentRestrictions: {country: "us"} }; var input = document.getElementById('searchTextField'); var autocomplete = new google.maps.places.Autocomplete(input, options); } Add solution