-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
implement SNO gallery #28
Conversation
@@ -25,10 +24,9 @@ class PostsPageState extends State<PostsPage> with TickerProviderStateMixin { | |||
Tab(child: Text("All")), | |||
...tabCategories.map((e) => Tab(child: Text(e.name))).toList() | |||
]), | |||
child: Flexible( | |||
child: TabBarView(controller: tabController, children: [ | |||
child: TabBarView(controller: tabController, children: [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small fix to prevent exception from occurring related to Flexible
@@ -16,7 +17,7 @@ import 'package:wordpress_api/wordpress_api.dart'; | |||
void main() async { | |||
Logger.root.level = Level.INFO; | |||
Logger.root.onRecord.listen((record) { | |||
print( | |||
debugPrint( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
debugPrint
will not attempt to print on production builds, as opposed to print
@daniel-n6 I recommend taking a quick look at this and pulling changes before continuing work on #18 . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works, although we may need enhancement later on to improve how the gallery looks
Yep, as I understand you're working on #18 ? This actually uses the same code to render the gallery as for NextGEN galleries... so resolving that will do so for both types of galleries. |
Per #23
gallery
shortcode is now implemented on same section asngg
!However, this implementation does not fetch author names.... something that has to be implemented later, and is blocked by the API.