ristek_material_component

A Material Component for Ulas Kelas Project Ristek Universitas Indonesia

Getting Started

Alt text

Primary Button

PrimaryButton(
	/// If you want to change the content of this button just unset [text] 
	/// argument
	/// 
	/// change with 
	/// child: SomeWidget()
	text: 'Hello',
	
	// If you want disabled this button just unset [onPressed] argument
	onPressed: () {},

	/// Try other argument like [isLoading]
)

Secondary Button

SecondaryButton(
	/// If you want to change the content of this button just unset [text] 
	/// argument
	/// 
	/// change with 
	/// child: SomeWidget()
	text: 'Hello',
	
	// If you want disabled this button just unset [onPressed] argument
	onPressed: () {},

	/// Try other argument like [isLoading]
)

Libraries

ristek_material_component