popup_window 1.0.0+3 popup_window: ^1.0.0+3 copied to clipboard
Display A Dialog like Android Native Window, which can display by position in screen.
popup_window #
A library to display a view like window in android native.
Getting Started #
1.Install
dependencies:
popup_window: ^1.0.0+1
2.Import
import 'package:popup_window/popup_window.dart';
3.Usage
PopupWindowButton(
offset: Offset(0, 200),
child: Image(image: AssetImage("images/ic_share.png")),
window: Container(
padding: EdgeInsets.all(50),
alignment: Alignment.center,
color: Colors.greenAccent,
height: 200,
child: Container(
color: Colors.white,
height: 50,
) ,
),
)
More detail see example: main.dart