wt1.1.2e NumberPicker
This commit is contained in:
@@ -8,6 +8,7 @@ class ImageButton extends StatelessWidget {
|
||||
final TextStyle style;
|
||||
final String image;
|
||||
final double top;
|
||||
final double left;
|
||||
final double height;
|
||||
final double width;
|
||||
final bool isShape;
|
||||
@@ -21,6 +22,7 @@ class ImageButton extends StatelessWidget {
|
||||
this.style,
|
||||
this.image,
|
||||
this.top,
|
||||
this.left,
|
||||
this.height,
|
||||
this.width,
|
||||
this.bloc,
|
||||
@@ -48,20 +50,24 @@ class ImageButton extends StatelessWidget {
|
||||
Stack(
|
||||
alignment: Alignment.topLeft,
|
||||
children: [
|
||||
this.isLocked?
|
||||
Positioned(
|
||||
top: 50,
|
||||
left: 50,
|
||||
child: this.isLocked?
|
||||
Image.asset(
|
||||
'asset/image/lock.png',
|
||||
height: 40,
|
||||
width: 40,
|
||||
height: 60,
|
||||
width: 60,
|
||||
)
|
||||
: Container(),
|
||||
]),
|
||||
)]
|
||||
),
|
||||
Positioned(
|
||||
top: top,
|
||||
left: 10,
|
||||
left: left,
|
||||
child: Container(
|
||||
height: 100,
|
||||
width: 150,
|
||||
width: 180,
|
||||
child: InkWell(
|
||||
onTap: onTap ?? onTap,
|
||||
child: Text(
|
||||
|
||||
Reference in New Issue
Block a user