| 1 | import 'package:flutter/material.dart'; |
| 2 | import 'package:cake_wallet/src/widgets/standard_list.dart'; |
| 3 | |
| 4 | class SettingsCellWithArrow extends StandardListRow { |
| 5 | SettingsCellWithArrow({ |
| 6 | required String title, |
| 7 | required Function(BuildContext context)? handler, |
| 8 | Key? key, |
| 9 | }) : super(title: title, isSelected: false, onTap: handler, key: key); |
| 10 | |
| 11 | @override |
| 12 | Widget buildTrailing(BuildContext context) => Image.asset( |
| 13 | 'assets/images/select_arrow.png', |
| 14 | color: Theme.of(context).colorScheme.onSurfaceVariant, |
| 15 | ); |
| 16 | } |