Features

This package allows you to use scalable sizes in your project

Getting started

import 'package:flutter_scalable/flutter_scalable.dart';

Usage

Initialize FlutterScalable in your main file and enjoy

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

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return FlutterScalable(
      builder: (context) {
        return MaterialApp(
          title: 'Flutter Scalable',
          theme: ThemeData(
            colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
            useMaterial3: true,
          ),
          home: const MyHomePage(title: 'Flutter Demo Home Page'),
        );
      }
    );
  }
}

Libraries

flutter_scalable