Skip to content

Instantly share code, notes, and snippets.

💭
The programmer creates a new one, the coder follows the instructions

CoolONE CoolONEOfficial

View GitHub Profile
@CoolONEOfficial
CoolONEOfficial / Flutter preferences screen button
Created Dec 6, 2018
Function returns preferences screen button widget
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(
You can’t perform that action at this time.