end_credits

pub end_credits codecov License: MIT style: very good analysis

Show a simple end credits screen in your Flutter app.

drawing

Getting Started

EndCredits(
    sections,
    backgroundColor: Colors.black,
    curve: Curves.linear,
    delay: Duration(seconds: 1),
    speedFactor: normalSpeedFactor,
);

You need to pass an array of Section:

Section(title: 'Cast', roles: [
    Role(name: 'Role 1', crew: [Responsable('John Doe')])
])

You can customize the text style of:

  • Section
  • Crew
  • Role

There are 3 predefined speed factors, but you can pass a custom double value

  • Slow
  • Normal
  • Fast

Libraries

end_credits