rad 1.8.0 copy "rad: ^1.8.0" to clipboard
rad: ^1.8.0 copied to clipboard

Platformweb

A zero-dependency frontend framework for creating high-performant web apps using Dart.

example/README.md

A simple click testing demo using Rad:

import 'package:rad/rad.dart';

void main() {
  runApp(
    app: const ClickToggle(),
    appTargetId: 'output',
  );
}

class ClickToggle extends StatefulWidget {

  @override
  _ClickToggleState createState() => _ClickToggleState();
}

class _ClickToggleState extends State<ClickToggle> {
  bool isClicked = false;

  @override
  Widget build(BuildContext context) {
    return GestureDetector(
      onTap: _handleTap,
      child: Text(isClicked ? "on! click to turn off." : "click to turn on."),
    );
  }

  _handleTap() {
    setState(() {
      isClicked = !isClicked;
    });
  }
}

For installing Rad please refer to package homepage

58
likes
160
points
259
downloads

Publisher

verified publishererlage.com

Weekly Downloads

A zero-dependency frontend framework for creating high-performant web apps using Dart.

Repository (GitHub)
View/report issues
Contributing

Documentation

Documentation
API reference

License

BSD-3-Clause (license)

Dependencies

meta

More

Packages that depend on rad