/dart-cv

Create professional profile resumes in PDF format using Flutter Widgets.

Primary LanguageDartMIT LicenseMIT

🪪 Dart CV

Create professional profile resumes using Flutter Widgets.

Get Started

  1. Clone this repository
git clone https://github.com/idootop/dart-cv.git
cd resume_flutter
  1. Install dependencies

Ensure that you have set up the Dart environment before running this project.

dart pub get
  1. Edit your resume

Open and edit your resume in the example/dart_cv.dart file.

import 'package:dart_cv/dart_cv.dart';
import 'package:pdf/widgets.dart';

void main() async {
  await XPDF.render(
    'example/resume.pdf',
    margin: EdgeInsets.all(24.px),
    body: (Context context) => <Widget>[
      // Profile
      XHeader(
        name: 'Your Name',
        descriptions: [
          XText('(+86) 123456789'), // Phone number
          XLink('mailto:me@xbox.work', text: 'me@xbox.work'), // Email
          XLink('https://github.com/idootop',
              text: 'github.com/idootop'), // Github
        ],
      ),
      // ...
    ],
  );
}
  1. Build your resume
dart run example/resume.dart

The PDF file will be exported at example/resume.pdf.