live_cell_widgets 0.1.1 copy "live_cell_widgets: ^0.1.1" to clipboard
live_cell_widgets: ^0.1.1 copied to clipboard

Provides wrappers over Flutter widgets which allow the properties of the widgets to be controlled by ValueCell's

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:live_cell_widgets/live_cell_widgets.dart';
import 'package:live_cell_widgets/live_cell_widgets_base.dart';
import 'package:live_cells_core/live_cells_core.dart';

void main() {
  runApp(const MyApp());
}

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

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        // This is the theme of your application.
        //
        // Try running your application with "flutter run". You'll see the
        // application has a blue toolbar. Then, without quitting the app, try
        // changing the primarySwatch below to Colors.green and then invoke
        // "hot reload" (press "r" in the console where you ran "flutter run",
        // or simply save your changes to "hot reload" in a Flutter IDE).
        // Notice that the counter didn't reset back to zero; the application
        // is not restarted.
        primarySwatch: Colors.blue,
      ),
      home: myHomePage(),
    );
  }
}

Widget myHomePage() => StaticWidget.builder((context) {
  return Scaffold(
    appBar: AppBar(
        title: const Text('Home Page')
    ),
    body: CellColumn(
      children: ValueCell.value([
        Text('Title'),
        Expanded(
          child: Center(
            child: Text('Expanded'),
          ),
        )
      ]),
    ),
  );
});
1
likes
0
pub points
30%
popularity

Publisher

verified publishergutev.dev

Provides wrappers over Flutter widgets which allow the properties of the widgets to be controlled by ValueCell's

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

collection, flutter, live_cell_annotations, live_cells_core

More

Packages that depend on live_cell_widgets