flutter_resume_template 1.0.1 copy "flutter_resume_template: ^1.0.1" to clipboard
flutter_resume_template: ^1.0.1 copied to clipboard

The flutter_resume_template plugin provides a customizable resume template that can be easily integrated into a Flutter application. This plugin provides a FlutterResumeTemplate widget that takes the [...]

example/lib/main.dart

import 'dart:math';

import 'package:flutter/material.dart';
import 'package:flutter_resume_template/flutter_resume_template.dart';
import 'package:flutter_resume_template_example/data/data.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  late TemplateTheme theme = TemplateTheme.modern;
  List<TemplateTheme> list = [
    TemplateTheme.none,
    TemplateTheme.classic,
    TemplateTheme.modern,
    TemplateTheme.technical,
    TemplateTheme.business,
  ];

  TemplateTheme getRandomItem() {
    final random = Random();
    final index = random.nextInt(5);
    theme = list[index];
    return list[index];
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      home: SafeArea(
        child: Scaffold(
          floatingActionButtonLocation: FloatingActionButtonLocation.startFloat,
          floatingActionButton: FloatingActionButton(
            backgroundColor: Colors.white54,
            onPressed: () {
              setState(() {
                theme = getRandomItem();
              });
            },
          ),
          body: FlutterResumeTemplate(
            data: data,
            templateTheme: theme,
            mode: TemplateMode.shakeEditAndSaveMode,
            onSaveResume: (_) async => await PdfHandler().createResume(_),
          ),
        ),
      ),
    );
  }
}
21
likes
0
pub points
68%
popularity

Publisher

verified publisherjordyhers.com

The flutter_resume_template plugin provides a customizable resume template that can be easily integrated into a Flutter application. This plugin provides a FlutterResumeTemplate widget that takes the parameters, TemplateMode, TemplateTheme, onSaveResume, TemplateData and onEmpty(), to customize the template according to your needs.

Repository (GitHub)
View/report issues

Funding

Consider supporting this project:

patreon.com

License

unknown (license)

Dependencies

auto_size_text, flutter, flutter_shake_animated, google_fonts, http_mock_adapter, path_provider, pdf

More

Packages that depend on flutter_resume_template