fl_chart 0.68.0 copy "fl_chart: ^0.68.0" to clipboard
fl_chart: ^0.68.0 copied to clipboard

A highly customizable Flutter chart library that supports Line Chart, Bar Chart, Pie Chart, Scatter Chart, and Radar Chart.

example/lib/main.dart

import 'package:fl_chart_app/cubits/app/app_cubit.dart';
import 'package:fl_chart_app/presentation/resources/app_resources.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:google_fonts/google_fonts.dart';

import 'presentation/router/app_router.dart';

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

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

  @override
  Widget build(BuildContext context) {
    return MultiBlocProvider(
      providers: [
        BlocProvider<AppCubit>(create: (BuildContext context) => AppCubit()),
      ],
      child: MaterialApp.router(
        title: AppTexts.appName,
        theme: ThemeData(
          brightness: Brightness.dark,
          useMaterial3: true,
          textTheme: GoogleFonts.assistantTextTheme(
            Theme.of(context).textTheme.apply(
                  bodyColor: AppColors.mainTextColor3,
                ),
          ),
          scaffoldBackgroundColor: AppColors.pageBackground,
        ),
        routerConfig: appRouterConfig,
      ),
    );
  }
}
5713
likes
160
pub points
100%
popularity
screenshot

Publisher

verified publisherflchart.dev

A highly customizable Flutter chart library that supports Line Chart, Bar Chart, Pie Chart, Scatter Chart, and Radar Chart.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#chart #charts #visualization #graph #diagram

Documentation

Documentation
API reference

Funding

Consider supporting this project:

github.com
www.buymeacoffee.com

License

MIT (LICENSE)

Dependencies

equatable, flutter

More

Packages that depend on fl_chart