overlayWidget property

(Widget Function(String)?) overlayWidget
final

Widget to show beside the selected alphabet if not specified it will be hidden.

overlayWidget:(value)=>
   Container(
      height: 50,
      width: 50,
      alignment: Alignment.center,
      color: Theme.of(context).primaryColor,
      child: Text(
                '$value'.toUpperCase(),
                 style: TextStyle(fontSize: 20, color: Colors.white),
             ),
     )

Implementation

final Widget Function(String)? overlayWidget;