flutter_lab 0.1.3 copy "flutter_lab: ^0.1.3" to clipboard
flutter_lab: ^0.1.3 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,
            ),
          ),
        ),
      ),
    );
  }
}
6
likes
110
pub points
61%
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

cupertino_icons, flutter, get_it, google_fonts, socket_io_client

More

Packages that depend on flutter_lab