how to dismiss request from contractor in flutter when using final

Viewed 30

class Reusable extends StatelessWidget { const Reusable({ Key? key, required this.color, this.cardchild, }) : super(key: key);

final Color color; final Widget cardchild;

1 Answers

use:

final Color? color; 
final Widget? cardchild;
Related