When I need to use dev_dependency

If I need any dependency I use them under dependencies like this dependencies: flutter: sdk: flutter provider: ^3.2.0 http: ^0.12.0+3 get_it: ^3.1.0 connectivity: ^0.4.6 email_validator: ^1.0.4 shared_preferences: ^0.5.4+8 google_maps_flutter: ^0.5.21+14 When I can use packages uder dev_dependencies? I don’t know what I have to see in the packages so that I can decide which dependency…

Details

Convertin numbers from decimal to binary

Don’t judge strictly. I recently started studying kotlin and this is my first project. import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.widget.EditText import kotlinx.android.synthetic.main.activity_main.* class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_main) button1.setOnClickListener { val t1:EditText=findViewById(R.id.editText1) var p:Int=Integer.parseInt(t1.getText().toString()) var f:String=”” while (p != 0) p = p / 2 f += p %…

Details