Aloïs Deniel

Results 92 comments of Aloïs Deniel

Can you describe how you're doing it ? I'm using the geolocator plugin with success.

Okay, I really doubt it is something directly related to device_preview. I'll need to create a sample with geolocator and device_preview to test scenarios. If you have a sample app...

Another way to implement this would be to allow a function as `Default`'s argument : ```dart Other _defaultOther() => Other(); @freezed abstract class Example with _$Example { factory Example(@Default(_defaultOther) Other...

Yeah, probably the most common scenario. But it may solve issues with json serializable : For example : ```dart @freezed abstract class Other with _$Other { const factory Other() =...

Another common use case that doesn't need other properties : ```dart Example({ DateTime timestamp, }) : timestamp = timestamp ?? DateTime.now().add(Duration(days: -30)); ``` The nearest approach I found (though the...

@hcbpassos Yes absolutely, it is another valid solution, but I wanted to keep the `const` behaviour. :)

Unfortunately I didn't have encounterd this issue yet ... It may be linked to the system, on what device model did this happened ? I suppose that you checked the...

Sorry for not being very active lately. I'm not sure if all of you have the exact same issue (you got different codes, and you have different OS). In the...

Which geocoder did you used : local or google ? I suppose local regarding the error. Very strange it seems to tell you that the cordinates aren't well formatted at...

I have difficulties to understand : having no result from a call is really different than an unavailable APIs. What if there's really no result ? Then the client would...