Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
670 B
2
Indexable
import 'package:flutter/material.dart';
import 'package:flutter_basics/practice2/Widget/rounded_button.dart';
import 'package:flutter_basics/ui_helper/util.dart';

class button extends StatelessWidget {
  const button({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(

       body: Center(
         child: Container(
           width: 100,
           child: RoundedButton(
             name: 'log in',
             icon: Icon(Icons.lock),
             callback: (){
             print('Logged in');
             },
           textStyle: myTestStyle16(),
           ),
         ),
       )
    );


  }
}