flutter_lab 0.1.2 copy "flutter_lab: ^0.1.2" to clipboard
flutter_lab: ^0.1.2 copied to clipboard

Flutter package for FlutterLab, a UI design tool. Quickly change the parameters of widgets (color, size, alignment, padding, position, opacity, etc.)

example/lib/main.dart

// ignore_for_file: prefer_const_constructors, avoid_unnecessary_containers, prefer_const_literals_to_create_immutables

import 'package:flutter/material.dart';
import 'package:flutter_lab/flutter_lab.dart';

void main() {
  WidgetsFlutterBinding.ensureInitialized();

  runApp(
    const FlutterLab(
      child: MyApp(),
    ),
  );
}

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        body: LabContainer(
          alignment: Alignment.center,
          child: LabContainer(
            name: 'Container 2',
            child: LabIcon(
              Icons.favorite,
              size: 140,
            ),
          ),
        ),
      ),
    );
  }
}
8
likes
130
pub points
54%
popularity

Publisher

verified publisherflutterlab.dev

Flutter package for FlutterLab, a UI design tool. Quickly change the parameters of widgets (color, size, alignment, padding, position, opacity, etc.)

Repository (GitHub)
View/report issues

Topics

#ui #widget #tool

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, provider, socket_io_client

More

Packages that depend on flutter_lab