Questions tagged [Dart] (31)

1
answer

Why Darth implicit type casting works?

class Animal { String name; Animal(this.name); } class Cat extends Animal { Cat(String name) : super(name); } List<Animal> animals = []; List<Cat> cats = animals; Why dart does not catch this error at compile time? Even typescript able to cope with that. Know you can prevent the implicit caste in the conf...
jonatha asked April 19th 20 at 11:53
1
answer

Whether frontend developers to look in the direction of flutter and dart?

Have a great experience in frontend development. Recently drawn towards something new. I have thought over flutter. As I understand it, in the West it is already much more popular than us. It is likely that there will soon begin to increase the demand for flutter/dart developer. The idea to make the ui more robust language...
kirstin_Rutherfo asked April 18th 20 at 12:57
1
answer

Event handling in flutter?

Good day! Help Board, I use RxDart and BLoC. In bloc, I have processed the data in a loop and leave the event: final _controller = BehaviorSubject(); for(var item in items){ var data = []; /* code here */ _controller.add(State._status(SearchStatus.inProgress)); _controller.add(State._data(data)); } but in the StreamBui...
willard asked April 9th 20 at 10:30
1
answer

Does not run applications on flutter?

Hi all after updating my phone with iOS on 13.3.0 13.3.1 stopped zapuskatsya app, it like opens but after 2 seconds it closes, the problem with 13.3.0 was not, you say do downgrade the iOS version, but unfortunately laziness takes me over
Cedrick asked April 7th 20 at 11:25
2
answers

Did someone experience the transition with React Native to Flutter?

What caused the transition, what challenges/constraints faced and to what conclusion. Please share the experience.
Price asked April 4th 20 at 12:55
1
answer

Flutter/Android Studio when compiling hangs on Running Gradle task 'assembleDebug. How to fix?

Simply there is a loading bar and nothing more. You can wait all day.
oliver37 asked April 4th 20 at 12:33
1
answer

How to add a button in Dart?

Started writing programs for Flutter. Don't know where to start, I decided to start with the add button. Please tell me how to create the button and its functionality. floatingActionButton: FloatingActionButton( onPressed: _incrementCounter, tooltip: 'Increment', child: Icon(Icons.add), )
Beulah_Sawa asked April 4th 20 at 01:44
1
answer

Add and display images?

Good day, I pass training in Angulardart tutorial (the tag is missing), and was wondering how to extend the basic model presented in the textbook, all my attempts to find this information have failed, in of.Doc about the output images = 0, tell me how to add a picture and then bring it with the rest of the information?class...
Aylin_Torp29 asked April 3rd 20 at 19:06
1
answer

Why do I get error that table is not?

While trying to retrieve data from the database table lesson , you receive the error that no such table no. A database table also.CodeFuture<List<Lesson>> getLessons() async { final db = await database; var res = await db.query("lessons"); List<Lesson> list = res.isNotEmpty ? Res. map((c) => Lesson.f...
claudine_Powlows asked April 2nd 20 at 16:52
1
answer

Does dart soft links?

For cache implementation I need a soft link (similar to SoftReference in java). Dart does something similar?
Nayeli.Mohr15 asked April 2nd 20 at 16:20