This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use this class as | |
MapMarkerGeneratorFromWidget(CommonMethods.customNumberMarker("${i+1}"), (bitmaps) { | |
setState(() { | |
BitmapDescriptor icon = BitmapDescriptor.fromBytes(bitmaps); | |
dev.log("$TAG icon :-- $icon"); | |
if(updatedOrders[i].addressDelivery?.latLng != null) { | |
LatLng markerLatLng = LatLng( | |
(updatedOrders[i].addressDelivery?.latLng?.latitude ?? 0.0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static const String routeName = '/LogInScreen'; | |
static Route route() { | |
return PageRouteBuilder( | |
settings: RouteSettings(name: routeName), | |
pageBuilder: (context, animation, secondaryAnimation) => LogInScreen(), | |
transitionsBuilder: (context, animation, secondaryAnimation, child) { | |
const begin = Offset(1.0, 0.0); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Injector { | |
static final Injector _singleton = new Injector._internal(); | |
static final dio = Dio(); | |
factory Injector() { | |
return _singleton; | |
} | |
Injector._internal(); | |
RestApiClient getClient() { | |
// dio.options.connectTimeout = 10000; | |
// dio.options.receiveTimeout = 3000; |
OlderNewer