flutter_scalable 0.0.1 copy "flutter_scalable: ^0.0.1" to clipboard
flutter_scalable: ^0.0.1 copied to clipboard

This package allows you to use scalable sizes in your project

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'),
        );
      }
    );
  }
}
2
likes
140
points
19
downloads

Publisher

unverified uploader

Weekly Downloads

This package allows you to use scalable sizes in your project

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on flutter_scalable