morphable_shape 1.4.5 copy "morphable_shape: ^1.4.5" to clipboard
morphable_shape: ^1.4.5 copied to clipboard

outdated

A Flutter package for creating various shapes that are responsive and can morph betweem each other.

example/lib/main.dart

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

import 'edit_shape_page.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    print(Dimension.lerp(0.toPercentLength, 100.toPercentLength, 0.5));
    return MaterialApp(
      title: 'Flutter Shape Editor',
      theme: ThemeData(
        primarySwatch: Colors.amber,
        primaryColor: Colors.amber,
        primaryColorBrightness: Brightness.dark,
        sliderTheme: SliderTheme.of(context).copyWith(
          inactiveTrackColor: Colors.black.withOpacity(0.2),
          thumbColor: Colors.amber,
          activeTrackColor: Colors.amber,
          overlayColor: Colors.amber.withOpacity(0.2),
        ),
      ),
      home: EditShapePage(),
    );
  }
}
168
likes
0
pub points
91%
popularity

Publisher

verified publisherwenkaifan.com

A Flutter package for creating various shapes that are responsive and can morph betweem each other.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

dimension, flutter, flutter_class_parser

More

Packages that depend on morphable_shape