🪪 Dart CV
Create professional profile resumes using Flutter Widgets.
Get Started
- Clone this repository
git clone https://github.com/idootop/dart-cv.git
cd resume_flutter
- Install dependencies
Ensure that you have set up the Dart environment before running this project.
dart pub get
- 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
],
),
// ...
],
);
}
- Build your resume
dart run example/resume.dart
The PDF file will be exported at example/resume.pdf
.