Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save yuchuanfeng/5d2a9f0cbe48a40b265fba1c52305c6b to your computer and use it in GitHub Desktop.
Save yuchuanfeng/5d2a9f0cbe48a40b265fba1c52305c6b to your computer and use it in GitHub Desktop.

Revisions

  1. @karanvs karanvs created this gist Jul 7, 2017.
    23 changes: 23 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,23 @@
    return new Scaffold(
    appBar: new AppBar(
    title: new Text("Project Details"),
    backgroundColor: Colors.blue[800]),
    body:
    new CustomScrollView(
    slivers: <Widget>[
    new SliverPadding(padding: const EdgeInsets.only(left: 10.0,right: 10.0,
    top: 10.0,bottom: 0.0),
    sliver: new SliverList(delegate:
    new SliverChildListDelegate(getTopWidgets())),
    ),
    new SliverPadding(padding: const EdgeInsets.all(10.0),
    sliver: new SliverList(delegate: new SliverChildListDelegate(
    getSfListTiles()
    ))),
    new SliverPadding(padding: const EdgeInsets.all(10.0),
    sliver: new SliverList(delegate: new SliverChildListDelegate(
    getWorkStatementTiles()
    ))),
    ]
    )
    );