The argument type ‘Object’ can’t be assigned to the parameter type ‘ImageProvider’

Hey this is currently an issue I opened in the flutter repo with dart 2.12. A simple workaround you could make in the meantime is just to cast the object. decoration: BoxDecoration( shape: BoxShape.circle, color: Colors.blueAccent, border: Border.all( color: Colors.blueAccent, width: 20.0, style: BorderStyle.solid), image: DecorationImage( fit: BoxFit.cover, image: myMarkerThumb != ‘noImage’ ? NetworkImage(myMarkerThumb) : … Read more

What is the correct way to add date picker in flutter app?

A simple app showcasing its use: import ‘dart:async’; import ‘package:flutter/material.dart’; void main() => runApp(MyApp()); class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( title: ‘Flutter Demo’, home: MyHomePage(title: ‘Flutter Demo Home Page’), ); } } class MyHomePage extends StatefulWidget { MyHomePage({Key key, this.title}) : super(key: key); final String title; @override _MyHomePageState createState() … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)