buildContent method

Widget buildContent(
  1. BuildContext context
)

Implementation

Widget buildContent(BuildContext context){
  return Align(
    child: Container(
      width: 180,
      height: 100,
      alignment: Alignment.center,
      child: Column(
        mainAxisSize: MainAxisSize.min,
        children: <Widget>[
          Text("No result", style: MyText.headline(context)!.copyWith(
              color: Colors.grey[500], fontWeight: FontWeight.bold
          )),
          Container(height: 5),
          Text("Try input more general keyword", textAlign: TextAlign.center, style: MyText.medium(context).copyWith(
              color: Colors.grey[500]
          )),
        ],
      ),
    ),
    alignment: Alignment.center,
  );
}