Last active
February 27, 2021 20:46
-
-
Save Zambrella/77fc8d098fae4e0dcfef4555ca836295 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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