Widget build()

in example/lib/pages/home/home_page_item.dart [43:70]


  Widget build(BuildContext context) {
    return InkWell(
      onTap: () => NavigateUtil.pushWithRoute(context, itemConfig.pageRoute),
      splashColor: Colors.white.withOpacity(0.3),
      highlightColor: Colors.transparent,
      child: Container(
        margin: _buttonMargin,
        padding: _buttonPadding,
        decoration: _buttonDecoration,
        child: Row(
          children: [
            Icon(itemConfig.icon, color: _iconColor),
            const SizedBox(width: _spacing),
            Expanded(
              child: Text(
                itemConfig.name,
                style: _textStyle,
              ),
            ),
            const Icon(
              Icons.chevron_right,
              color: _trailingIconColor,
            ),
          ],
        ),
      ),
    );
  }