dough 0.0.5 copy "dough: ^0.0.5" to clipboard
dough: ^0.0.5 copied to clipboard

outdated

This library provides widgets that can be used to create a smooshy user interface.

example/lib/main.dart

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

import 'routes.dart';

void main() {
  runApp(AppRoot());
}

class AppRoot extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    final app = MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      routes: Routes.define(),
      initialRoute: Routes.kHome,
    );

    // Optionally, apply your own default dough recipe to your
    // whole app if you don't like the built in recipe. All dough
    // widgets will default to using these settings.
    return DoughRecipe(
      data: DoughRecipeData(
        adhesion: 14,
      ),
      child: app,
    );
  }
}
436
likes
0
points
856
downloads

Publisher

verified publisherjosiahsaunders.com

Weekly Downloads

This library provides widgets that can be used to create a smooshy user interface.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, vector_math

More

Packages that depend on dough