link method

Widget link(
  1. int count,
  2. String postfix
)

Implementation

Widget link(int count, String postfix) {
  return Row(children: [
    bold(count),
    InkWell(
      child: Text(tr(postfix), style: const TextStyle(color: Colors.blue)),
      onTap: () {
        Navigator.push(
          state.context,
          MaterialPageRoute(
              builder: (context) => Actors(actor: actor.did, prop: postfix)),
        );
      },
    )
  ]);
}