Instantly share code, notes, and snippets.

View Flutter preferences screen button
Widget buildPreferenceButton(BuildContext context,
{@required String title,
@required String description,
@required VoidCallback onPressed,
Widget rightWidget}) {
var rowChildren = <Widget>[
Expanded(
child: ListBody(
children: <Widget>[
Text(