fl_chart 0.70.0 copy "fl_chart: ^0.70.0" to clipboard
fl_chart: ^0.70.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,
      ),
    );
  }
}
6.35k
likes
160
points
875k
downloads
screenshot

Publisher

verified publisherflchart.dev

Weekly Downloads

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, vector_math

More

Packages that depend on fl_chart