Skip to content

Instantly share code, notes, and snippets.

@Zambrella
Last active February 27, 2021 20:46
Show Gist options
  • Save Zambrella/77fc8d098fae4e0dcfef4555ca836295 to your computer and use it in GitHub Desktop.
Save Zambrella/77fc8d098fae4e0dcfef4555ca836295 to your computer and use it in GitHub Desktop.
part of user_widgets;
class ExampleInfo extends WidgetInfo {
get name => 'My Widget'; //name your widget, not used in design currently
get description => "This is an example of a basic widget";
get developer => "Joey Marino"; //use any name for yourself
get logoPath => "assets/profile_logos/flutter_buddy.png";
get widget => ExampleWidget();
}
ExampleInfo exampleInfo = ExampleInfo();
class ExampleWidget extends StatelessWidget {
@override
Widget build(BuildContext context) {
return SafeArea(
child: Scaffold(
// Your code goes here :)
),
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment