mirror of
https://github.com/Iconica-Development/flutter_timeline.git
synced 2025-05-19 10:33:44 +02:00
Merge pull request #21 from Iconica-Development/update-component-documentation-workflow-correct
Add component-documentation.yml correct
This commit is contained in:
commit
1e1241bdf9
3 changed files with 24 additions and 8 deletions
14
.github/workflows/component-documentation.yml
vendored
Normal file
14
.github/workflows/component-documentation.yml
vendored
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
name: Iconica Standard Component Documentation Workflow
|
||||||
|
# Workflow Caller version: 1.0.0
|
||||||
|
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [published]
|
||||||
|
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
call-iconica-component-documentation-workflow:
|
||||||
|
uses: Iconica-Development/.github/.github/workflows/component-documentation.yml@master
|
||||||
|
secrets: inherit
|
||||||
|
permissions: write-all
|
|
@ -32,7 +32,8 @@ class MyHomePage extends StatefulWidget {
|
||||||
}
|
}
|
||||||
|
|
||||||
class _MyHomePageState extends State<MyHomePage> {
|
class _MyHomePageState extends State<MyHomePage> {
|
||||||
var timelineService = TimelineService(postService: LocalTimelinePostService());
|
var timelineService =
|
||||||
|
TimelineService(postService: LocalTimelinePostService());
|
||||||
var timelineOptions = options;
|
var timelineOptions = options;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
|
|
@ -10,7 +10,8 @@ import 'package:go_router/go_router.dart';
|
||||||
List<GoRoute> getTimelineStoryRoutes({
|
List<GoRoute> getTimelineStoryRoutes({
|
||||||
TimelineUserStoryConfiguration? configuration,
|
TimelineUserStoryConfiguration? configuration,
|
||||||
}) {
|
}) {
|
||||||
var config = configuration ?? TimelineUserStoryConfiguration(
|
var config = configuration ??
|
||||||
|
TimelineUserStoryConfiguration(
|
||||||
userId: 'test_user',
|
userId: 'test_user',
|
||||||
service: TimelineService(
|
service: TimelineService(
|
||||||
postService: LocalTimelinePostService(),
|
postService: LocalTimelinePostService(),
|
||||||
|
|
Loading…
Reference in a new issue