import 'dart:math'; import 'dart:ui'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:wrapper/wrapper.dart'; class BtnPopupWidget extends StatefulWidget { final double spineHeight; final bool formEnd; final double width; final double height; final double angle; final double right; final double btnHeight; final double btnWidth; final Widget content; BtnPopupWidget( { Key? key, required this.width, required this.height, required this.btnHeight, required this.btnWidth, required this.content, this.spineHeight=12, this.angle=80, this.right=0, this.formEnd=false }) : super(key: key); @override State<BtnPopupWidget> createState() => _BtnPopupWidgetState(); } class _BtnPopupWidgetState extends State<BtnPopupWidget> with SingleTickerProviderStateMixin{ final LayerLink _layerLink = LayerLi
flutter中点击按钮滑动弹出弹框、变更弹框箭头
于 2022-05-29 20:26:13 首次发布