Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import 'package:Trainingku.id/_ConstantString/Pallete.dart';
- import 'package:flutter/material.dart';
- class Button extends StatefulWidget {
- @override
- _ButtonCreateState createState() => _ButtonCreateState();
- }
- class _ButtonCreateState extends State<Button> {
- @override
- Widget build(BuildContext context) {
- return Padding(
- padding: EdgeInsets.only(top: 15, bottom: 10, left: 40, right: 40),
- child: Center(
- child: ButtonTheme(
- minWidth: double.infinity,
- child: OutlineButton(
- color: Pallete.secondary_button,
- padding: EdgeInsets.only(top: 17, bottom: 17),
- child: Text("Registrasi",
- style: TextStyle(
- fontFamily: "Barlow",
- fontWeight: FontWeight.bold,
- fontSize: 20,
- color: Pallete.secondary_button_text,
- )),
- onPressed: () {},
- shape: new RoundedRectangleBorder(
- borderRadius: new BorderRadius.circular(10.0)),
- ),
- ),
- ),
- );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement