Skip to content

Instantly share code, notes, and snippets.

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

CoolONE CoolONEOfficial

💭
The programmer creates a new one, the coder follows the instructions
Block or report user

Report or block CoolONEOfficial

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
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.