Open WieFel opened 4 years ago
Firstly, please reserve the name on pub.dev with blank project
The general idea would be to take the structure already used in https://github.com/fluttercommunity/backdrop/tree/master/demo/lib/demo:
GallerizePage
as the main widget which can be used to create a demo app.GallerizePage
is further structured into three "tabs" GallerizeInfo
, GallerizePreview
and GallerizeCode
.GallerizePage
has the following properties:
title
: title (string) to be displayed within Info
. (could be replaced by customizable Widget
)description
: description (string) to be displayed within Info
. (could be replaced by customizable Widget
)codeFile
: path to the .dart file containing the code to be shown in the Code
tab.preview
: widget to be displayed within the Preview
tab.highlightingTheme
: the syntax highlighting theme for the code, defaults to dracula.Furthermore:
I suggest going with Gallery
or Gallerize
prefix for widgets.
I suggest going with
Gallery
orGallerize
prefix for widgets.
Oh, you're right :D didn't think about that...
@daadu what do you think of readme.md
?
I think the package will soon be ready for first release. What do you think?
LGTM.
More section (suggestion) in README:
More guide/feature in README (add in TODO, if not figured out yet):
flutter build web
-> commit/createPR to gh-pages
branch -> changes reflected to "Github Pages"I suggest using "Flutter package for creating Flutter Gallery like gallery/demo for your package/widget." as short description instead of "Flutter package for creating a gallery (demo) of your package/widget.".
Add "multi-screen size support" in TODO
Add "multi-screen size support" in TODO
with this you mean "toggle for fullscreen/mobile view", right @daadu ?
Add "multi-screen size support" in TODO
with this you mean "toggle for fullscreen/mobile view", right @daadu ?
yes
@daadu just created package proposal for fluttercommunity: https://github.com/fluttercommunity/community/issues/60
@WieFel Images are not loading on pub.dev
Taken over issue https://github.com/fluttercommunity/backdrop/issues/62#issue-713780112 by @daadu
This issue should be a starting point where I will list the basic features of the package and it's structure. Of course, anything is open for discussion.