Small Flutter strong mode cleanup fixes. (#7825)
* Small Flutter strong mode cleanup fixes. These are cases where strong mode down cast composite errors generally indicated cases that would performance or correctness issues if Flutter code was run in a strong mode VM. * Fix Command API so that it is always in terms of Map<String,String>. * Fix typedef
This commit is contained in:
committed by
Adam Barth
parent
82f887de07
commit
53fc96da9e
@@ -90,7 +90,7 @@ class OverlayGeometryApp extends StatefulWidget {
|
||||
OverlayGeometryAppState createState() => new OverlayGeometryAppState();
|
||||
}
|
||||
|
||||
typedef void CardTapCallback(Key targetKey, Point globalPosition);
|
||||
typedef void CardTapCallback(GlobalKey targetKey, Point globalPosition);
|
||||
|
||||
class CardBuilder extends LazyBlockDelegate {
|
||||
CardBuilder({ this.cardModels, this.onTapUp });
|
||||
|
||||
Reference in New Issue
Block a user