titled_page_view 0.1.0

  • README.md
  • Installing
  • Versions
  • new62

titled_page_view #

A Flutter PageView with an additional title bar and optional controls.

Build Status

Showcase #

Usage #

Example #

First, add the package to your pubspec.yaml:

     titled_page_view: ^0.1.0

Now you can use TitledPageView like Flutters's PageView

 import 'package:titled_page_view/titled_page_view.dart';


 new Scaffold(
   body: new TitledPageView(
     children: [
         children: [
           Container(height: 300, color: Colors.green),
         children: [
           Container(height: 300, color: Colors.red),
     titleChildren: [

Interface #

TitledPageView is build around Flutter's PageView. Therefore, many have the same name and work exactly the same. The only two additional options are fadeEffect and controlButtons, which add optional fading effects and controls to the title, respectively. Currently, both the fade animation and the buttons (chevron_left/chevron_right) are hard coded. Lastly, the code is written such that scrollDirection of Axis.vertical is currently not possible, hence this option does not exist. With these differences in mind the interface resembles Flutter's PageView Widget very closely, thus one can always consult the official Flutter documentation.

[0.1.0] - 09.02.2019

Initial Release

  • Title supports optional fading animation
  • Title supports optional control buttons
  • Unit tests included

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  titled_page_view: ^0.1.0

2. Install it

You can install packages from the command line:

with Flutter:

$ flutter packages get

Alternatively, your editor might support flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:titled_page_view/titled_page_view.dart';
Version Uploaded Documentation Archive
0.1.0 Feb 9, 2019 Go to the documentation of titled_page_view 0.1.0 Download titled_page_view 0.1.0 archive
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Feb 14, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.1.0
  • pana: 0.12.13
  • Flutter: 1.2.0


Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Health suggestions

Format lib/titled_page_view.dart.

Run flutter format to format lib/titled_page_view.dart.

Maintenance suggestions

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and titled_page_view.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.68.0 <3.0.0
flutter 0.0.0
Transitive dependencies
collection 1.14.11
meta 1.1.6 1.1.7
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies